From 701d8ecc2d8f87db3ace8ada6e0b132743f10162 Mon Sep 17 00:00:00 2001 From: ak Date: Thu, 31 Jan 2019 11:23:38 -0800 Subject: [PATCH] node address change --- contracts/DepositContract.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/DepositContract.sol b/contracts/DepositContract.sol index c0850c6e7..1aae7c60c 100644 --- a/contracts/DepositContract.sol +++ b/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];