mirror of
https://github.com/tornadocash/tornado-relayer.git
synced 2024-10-01 08:25:37 -04:00
add missing returns
This commit is contained in:
parent
4bdd6b25c0
commit
c480707f63
@ -83,6 +83,7 @@ withdrawQueue.process(async function(job, done){
|
||||
error: 'The note has been spent.'
|
||||
}
|
||||
})
|
||||
return
|
||||
}
|
||||
const isKnownRoot = await mixer.methods.isKnownRoot(root).call()
|
||||
if (!isKnownRoot) {
|
||||
@ -92,6 +93,7 @@ withdrawQueue.process(async function(job, done){
|
||||
error: 'The merkle root is too old or invalid.'
|
||||
}
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
let gas = await mixer.methods.withdraw(proof, ...args).estimateGas({
|
||||
|
Loading…
Reference in New Issue
Block a user