mirror of
https://github.com/tornadocash/tornado-core.git
synced 2024-11-22 09:47:13 +01: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