|
@@ -57,12 +57,13 @@ export default class EthMev {
|
|
|
|
|
|
|
|
history.from = dataObj.fromAdd
|
|
history.from = dataObj.fromAdd
|
|
|
history.to = dataObj.toAdd
|
|
history.to = dataObj.toAdd
|
|
|
- history.gasPrice = NumKit._N(parseInt(dataObj.gasPrice) / (1E9), 2)
|
|
|
|
|
|
|
+ history.gasPrice = NumKit.getSubFloat(parseInt(dataObj.gasPrice) / (1E9), 2)
|
|
|
history.index = dataObj.index
|
|
history.index = dataObj.index
|
|
|
history.type = dataObj.type
|
|
history.type = dataObj.type
|
|
|
history.state = dataObj.status
|
|
history.state = dataObj.status
|
|
|
history.pending = dataObj.pending
|
|
history.pending = dataObj.pending
|
|
|
history.tradeInfoList = dataObj.tradeInfo
|
|
history.tradeInfoList = dataObj.tradeInfo
|
|
|
|
|
+ history.memo = dataObj.memo
|
|
|
|
|
|
|
|
// hash异常处理
|
|
// hash异常处理
|
|
|
if (history.hash.indexOf('0x') === -1 && history.hash.length === 64) history.hash = '0x' + history.hash
|
|
if (history.hash.indexOf('0x') === -1 && history.hash.length === 64) history.hash = '0x' + history.hash
|