mirror of
https://github.com/tornadocash/tornado-relayer.git
synced 2025-05-09 10:05:14 -04:00
increase gas limit
This commit is contained in:
parent
215f2ad1e2
commit
66082a8fbc
3 changed files with 4 additions and 2 deletions
|
@ -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],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue