fix(wallet): Fixed nil pointer dereferencing for multiTransaction.ToAmount

when sending tx on Optimism
This commit is contained in:
Ivan Belyakov 2023-06-14 09:32:55 +02:00 committed by dlipicar
parent 3978048afa
commit 2b02968819
1 changed files with 1 additions and 0 deletions

View File

@ -308,6 +308,7 @@ func (tm *TransactionManager) CreateMultiTransactionFromCommand(ctx context.Cont
FromAsset: command.FromAsset,
ToAsset: command.ToAsset,
FromAmount: command.FromAmount,
ToAmount: new(hexutil.Big),
Type: command.Type,
}