mirror of
https://github.com/tornadocash/tornado-core.git
synced 2025-02-14 21:10:43 +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);
|
emit Withdraw(receiver, nullifier, fee);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function isSpent(uint256 nullifier) public view returns(bool) {
|
||||||
|
return nullifiers[nullifier];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user