mirror of
https://github.com/tornadocash/tornado-core.git
synced 2025-06-19 11:44:14 -04:00
isSpent function
This commit is contained in:
parent
eb75bab81b
commit
8657bc8b82
1 changed files with 4 additions and 0 deletions
|
@ -69,4 +69,8 @@ contract Mixer is MerkleTreeWithHistory {
|
||||||
}
|
}
|
||||||
emit Withdraw(receiver, nullifier, fee);
|
emit Withdraw(receiver, nullifier, fee);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function isSpent(uint256 nullifier) public view returns(bool) {
|
||||||
|
return nullifiers[nullifier];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue