mirror of
https://github.com/tornadocash/tornado-relayer
synced 2024-02-02 15:04:06 +01: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.'
|
error: 'The note has been spent.'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
return
|
||||||
}
|
}
|
||||||
const isKnownRoot = await mixer.methods.isKnownRoot(root).call()
|
const isKnownRoot = await mixer.methods.isKnownRoot(root).call()
|
||||||
if (!isKnownRoot) {
|
if (!isKnownRoot) {
|
||||||
@ -92,6 +93,7 @@ withdrawQueue.process(async function(job, done){
|
|||||||
error: 'The merkle root is too old or invalid.'
|
error: 'The merkle root is too old or invalid.'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
let gas = await mixer.methods.withdraw(proof, ...args).estimateGas({
|
let gas = await mixer.methods.withdraw(proof, ...args).estimateGas({
|
||||||
|
Loading…
Reference in New Issue
Block a user