Co-authored-by: yqrashawn <namy.19@gmail.com>
This commit is contained in:
parent
f4eb1668d5
commit
d41fcaf8a9
|
@ -269,13 +269,14 @@ func (tm *TransactionManager) createMultiTransaction(ctx context.Context, multiT
|
||||||
err = tm.addPending(PendingTransaction{
|
err = tm.addPending(PendingTransaction{
|
||||||
Hash: common.Hash(hash),
|
Hash: common.Hash(hash),
|
||||||
Timestamp: uint64(time.Now().Unix()),
|
Timestamp: uint64(time.Now().Unix()),
|
||||||
Value: bigint.BigInt{tx.Value()},
|
Value: bigint.BigInt{Int: multiTransaction.FromAmount.ToInt()},
|
||||||
From: common.Address(tx.From()),
|
From: common.Address(tx.From()),
|
||||||
To: common.Address(tx.To()),
|
To: common.Address(tx.To()),
|
||||||
Data: tx.Data().String(),
|
Data: tx.Data().String(),
|
||||||
Type: WalletTransfer,
|
Type: WalletTransfer,
|
||||||
ChainID: tx.ChainID,
|
ChainID: tx.ChainID,
|
||||||
MultiTransactionID: multiTransactionID,
|
MultiTransactionID: multiTransactionID,
|
||||||
|
Symbol: multiTransaction.FromAsset,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
Loading…
Reference in New Issue