diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-03-05 14:24:33 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-05 14:24:33 +0800 |
commit | 0fbe5829ec40a627cbbe5abec8ee27b10d62c124 (patch) | |
tree | 4d22918f1946c427a5fb67641ff3084d264c0360 | |
parent | 6e4dda2fbb09691dfffb50c746ec16952e14c1b6 (diff) | |
download | dexon-governance-abi-0fbe5829ec40a627cbbe5abec8ee27b10d62c124.tar.gz dexon-governance-abi-0fbe5829ec40a627cbbe5abec8ee27b10d62c124.tar.zst dexon-governance-abi-0fbe5829ec40a627cbbe5abec8ee27b10d62c124.zip |
contracts: change nodesOffsetByID to nodesOffsetByNodeKeyAddress
-rw-r--r-- | contracts/Governance.sol | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contracts/Governance.sol b/contracts/Governance.sol index 5be2f4c..2329103 100644 --- a/contracts/Governance.sol +++ b/contracts/Governance.sol @@ -42,8 +42,8 @@ contract Governance { // 4: stores the array index + 1 of nodes by address. mapping(address => int256) public nodesOffsetByAddress; - // 5: stores the array index + 1 of nodes by ID. - mapping(bytes32 => int256) public nodesOffsetByID; + // 5: stores the array index + 1 of nodes by address represented by node key. + mapping(address => int256) public nodesOffsetByNodeKeyAddress; // 6: delegators. mapping(address => Delegator[]) public delegators; |