fix: usdt精度

This commit is contained in:
chaosBreaking
2019-09-08 23:10:30 +08:00
parent 2410811b97
commit fcff6e4bcc

View File

@@ -14,7 +14,7 @@ const parseUsdtTx = txList => {
if (!txList || !Array.isArray(txList)) return [];
return txList.map(tx => {
return {
amount: +tx.value,
amount: (+tx.value) / 10e6,
hash: tx.hash,
blockNumber: tx.blockNumber
};