mirror of
https://github.com/tornadocash/tornado-core.git
synced 2024-12-25 22:39:22 -05:00
isSpent function
This commit is contained in:
parent
eb75bab81b
commit
8657bc8b82
@ -69,4 +69,8 @@ contract Mixer is MerkleTreeWithHistory {
|
||||
}
|
||||
emit Withdraw(receiver, nullifier, fee);
|
||||
}
|
||||
|
||||
function isSpent(uint256 nullifier) public view returns(bool) {
|
||||
return nullifiers[nullifier];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user