nit renaming node to node address

pull/367/head
alok 6 years ago
parent ebb9860dc1
commit 4b87626824
  1. 2
      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);

Loading…
Cancel
Save