From 35500ac5bb83c0bff0a23e22001f4ac781c9ab6c Mon Sep 17 00:00:00 2001 From: poma Date: Sat, 2 Nov 2019 13:09:02 +0300 Subject: [PATCH] change arg name --- contracts/Mixer.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/Mixer.sol b/contracts/Mixer.sol index 760564c..310432f 100644 --- a/contracts/Mixer.sol +++ b/contracts/Mixer.sol @@ -105,8 +105,8 @@ contract Mixer is MerkleTreeWithHistory { function _processWithdraw(address payable _receiver, address payable _relayer, uint256 _fee, uint256 _refund) internal; /** @dev whether a note is already spent */ - function isSpent(uint256 nullifier) public view returns(bool) { - return nullifierHashes[nullifier]; + function isSpent(uint256 nullifierHash) public view returns(bool) { + return nullifierHashes[nullifierHash]; } /**