don't need to use bit manipulation in mNormalizePledge

This commit is contained in:
perissology 2017-10-24 10:31:18 -07:00
parent 66388c4e9e
commit 9cdd35fc2c
1 changed files with 2 additions and 4 deletions

View File

@ -283,11 +283,9 @@ function donate(uint64 idGiver, uint64 idReceiver) payable {
}
}
function mNormalizePledge(uint[] pledges) returns(uint64) {
function mNormalizePledge(uint64[] pledges) {
for (uint i = 0; i < pledges.length; i++ ) {
uint64 idPledge = uint64( pledges[i] & (D64-1) );
normalizePledge(idPledge);
normalizePledge( pledges[i] );
}
}