fix estimateGas call

This commit is contained in:
mmv 2019-05-23 12:38:55 +04:00
parent 8f6823a9c4
commit 48eb83c288
1 changed files with 6 additions and 5 deletions

View File

@ -129,8 +129,8 @@ export const calculateTxFee = async (
valueInWei,
data,
operation,
txGasEstimate,
dataGasEstimate,
txGasEstimate: 0,
dataGasEstimate: 0,
gasPrice: 0,
txGasToken: '0x0000000000000000000000000000000000000000',
refundReceiver: '0x0000000000000000000000000000000000000000',
@ -141,12 +141,13 @@ export const calculateTxFee = async (
valueInWei,
data,
operation,
txGasEstimate,
dataGasEstimate,
0,
0,
0,
'0x0000000000000000000000000000000000000000',
safeAddress,
'0x0000000000000000000000000000000000000000',
sigs,
{ from: '0xbc2BB26a6d821e69A38016f3858561a1D80d4182' },
)
return estimate