node address change

pull/367/head
ak 6 years ago
parent 5ef06a39db
commit 701d8ecc2d
  1. 2
      contracts/DepositContract.sol

@ -18,7 +18,7 @@ contract DepositContract {
function deposit() public payable returns(uint index)
{
if(isNode(msg.sender)) {
if(isNodeAddress(msg.sender)) {
Stakes[msg.sender] += msg.value;
emit LogUpdateStake(msg.sender, Indices[msg.sender], Stakes[msg.sender]);
return Indices[msg.sender];

Loading…
Cancel
Save