From 33480bdc14ef530f61f2e2a606ca2dc717e2caaf Mon Sep 17 00:00:00 2001 From: Arthur L Lunn Date: Sat, 18 Nov 2017 18:33:06 +0000 Subject: [PATCH] fix id vs. idx discrepency --- contracts/LiquidPledgingBase.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/LiquidPledgingBase.sol b/contracts/LiquidPledgingBase.sol index 4b2d33b..854a85d 100644 --- a/contracts/LiquidPledgingBase.sol +++ b/contracts/LiquidPledgingBase.sol @@ -177,7 +177,7 @@ contract LiquidPledgingBase is Owned { string url, uint64 commitTime, ILiquidPledgingPlugin plugin - ) returns (uint64 idDelegate) { //TODO return index number + ) returns (uint64 idxDelegate) { //TODO return index number require(isValidPlugin(plugin)); idxDelegate = uint64(admins.length); @@ -221,7 +221,7 @@ contract LiquidPledgingBase is Owned { DelegateUpdated(idxDelegate); } - event DelegateUpdated(uint64 indexed idDelegate); + event DelegateUpdated(uint64 indexed idxDelegate); /// @notice `addProject` Creates a project and adds it to the list of admins. /// @param name This is the name used to identify the project.