fix id vs. idx discrepency
This commit is contained in:
parent
7c2faf5e44
commit
33480bdc14
|
@ -177,7 +177,7 @@ contract LiquidPledgingBase is Owned {
|
||||||
string url,
|
string url,
|
||||||
uint64 commitTime,
|
uint64 commitTime,
|
||||||
ILiquidPledgingPlugin plugin
|
ILiquidPledgingPlugin plugin
|
||||||
) returns (uint64 idDelegate) { //TODO return index number
|
) returns (uint64 idxDelegate) { //TODO return index number
|
||||||
require(isValidPlugin(plugin));
|
require(isValidPlugin(plugin));
|
||||||
idxDelegate = uint64(admins.length);
|
idxDelegate = uint64(admins.length);
|
||||||
|
|
||||||
|
@ -221,7 +221,7 @@ contract LiquidPledgingBase is Owned {
|
||||||
DelegateUpdated(idxDelegate);
|
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.
|
/// @notice `addProject` Creates a project and adds it to the list of admins.
|
||||||
/// @param name This is the name used to identify the project.
|
/// @param name This is the name used to identify the project.
|
||||||
|
|
Loading…
Reference in New Issue