diff --git a/contracts/DepositContract.sol b/contracts/DepositContract.sol index b369fc08f..c0850c6e7 100644 --- a/contracts/DepositContract.sol +++ b/contracts/DepositContract.sol @@ -10,7 +10,7 @@ contract DepositContract { event LogUpdateStake(address indexed nodeAddress, uint index, uint stake); event LogDeleteNode(address indexed nodeAddress, uint index); - function isNode(address nodeAddress) public constant returns(bool isIndeed) + function isNodeAddress(address nodeAddress) public constant returns(bool isIndeed) { if(nodeAddressList.length == 0) return false; return (nodeAddressList[Indices[nodeAddress]] == nodeAddress);