update withdraw limits

This commit is contained in:
Alexey 2021-03-10 23:14:53 +04:00 committed by Danil Kovtonyuk
parent 66082a8fbc
commit 33b6561ffe
2 changed files with 2 additions and 1 deletions

View file

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