mirror of
https://github.com/status-im/status-go.git
synced 2025-02-20 10:48:36 +00:00
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,
|
FromAsset: command.FromAsset,
|
||||||
ToAsset: command.ToAsset,
|
ToAsset: command.ToAsset,
|
||||||
FromAmount: command.FromAmount,
|
FromAmount: command.FromAmount,
|
||||||
|
ToAmount: new(hexutil.Big),
|
||||||
Type: command.Type,
|
Type: command.Type,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user