(Fix) If backend returns `null` for addresses the Transaction ca… (#718)
This tends to solve any possible issue that there may be in the tx execution for the `gasToken` and `refundReceiver` nullish values. fixes #573
This commit is contained in:
parent
19dc9332df
commit
c40fa07696
|
@ -171,8 +171,8 @@ export const buildTransactionFrom = async (safeAddress: string, tx: TxServiceMod
|
||||||
safeTxGas: tx.safeTxGas,
|
safeTxGas: tx.safeTxGas,
|
||||||
baseGas: tx.baseGas,
|
baseGas: tx.baseGas,
|
||||||
gasPrice: tx.gasPrice,
|
gasPrice: tx.gasPrice,
|
||||||
gasToken: tx.gasToken,
|
gasToken: tx.gasToken || ZERO_ADDRESS,
|
||||||
refundReceiver: tx.refundReceiver,
|
refundReceiver: tx.refundReceiver || ZERO_ADDRESS,
|
||||||
refundParams,
|
refundParams,
|
||||||
isExecuted: tx.isExecuted,
|
isExecuted: tx.isExecuted,
|
||||||
isSuccessful: tx.isSuccessful,
|
isSuccessful: tx.isSuccessful,
|
||||||
|
|
Loading…
Reference in New Issue