fix(wallet): Fixed nil pointer dereferencing for multiTransaction.ToAmount
when sending tx on Optimism
This commit is contained in:
parent
3978048afa
commit
2b02968819
|
@ -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,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue