increase gas limit

This commit is contained in:
Danil Kovtonyuk 2021-03-10 04:13:51 +10:00
parent 215f2ad1e2
commit 66082a8fbc
3 changed files with 4 additions and 2 deletions

View file

@ -211,6 +211,7 @@ async function getTxObject({ data }) {
value: data.args[5],
to: contract._address,
data: calldata,
gasLimit: gasLimits[data.type],
}
} else {
const method = data.type === jobType.MINING_REWARD ? 'reward' : 'withdraw'
@ -218,6 +219,7 @@ async function getTxObject({ data }) {
return {
to: minerContract._address,
data: calldata,
gasLimit: gasLimits[data.type],
}
}
}