mirror of
https://github.com/tornadocash/tornado-core.git
synced 2025-01-13 05:59:25 -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