fix: transaction ID
This commit is contained in:
parent
7f2963bc85
commit
eeab2f4324
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ const sendCoins = async (account, tx) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const transaction = response.transaction
|
const transaction = response.transaction
|
||||||
const txId = transaction.txId
|
const txId = transaction.txID
|
||||||
const transactionInfo = tronWeb.trx.getTransactionInfo(txId)
|
const transactionInfo = tronWeb.trx.getTransactionInfo(txId)
|
||||||
|
|
||||||
if (!transactionInfo || !transactionInfo.fee) return { txId }
|
if (!transactionInfo || !transactionInfo.fee) return { txId }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue