mirror of
https://github.com/tornadocash/tornado-cli.git
synced 2024-12-22 17:23:41 +01:00
fix: check spent note
This commit is contained in:
parent
c3653bf6e4
commit
d4bf80de6e
3
cli.js
3
cli.js
@ -758,8 +758,9 @@ async function main() {
|
||||
console.log('From :', `https://${getCurrentNetworkName()}etherscan.io/address/${depositInfo.from}`)
|
||||
console.log('Transaction :', `https://${getCurrentNetworkName()}etherscan.io/tx/${depositInfo.txHash}`)
|
||||
console.log('Commitment :', depositInfo.commitment)
|
||||
if (deposit.isSpent) {
|
||||
if (!deposit.isSpent) {
|
||||
console.log('The note was not spent')
|
||||
return
|
||||
}
|
||||
|
||||
const withdrawInfo = await loadWithdrawalData({
|
||||
|
Loading…
Reference in New Issue
Block a user