feat: delete message for new design (#2922) (#2965)

Co-authored-by: yqrashawn <namy.19@gmail.com>
This commit is contained in:
Khushboo-dev-cpp 2022-11-22 11:12:16 +01:00 committed by GitHub
parent f4eb1668d5
commit d41fcaf8a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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