Merge pull request #37 from Giveth/bit_manipulation
don't need to use bit manipulation in mNormalizePledge
This commit is contained in:
commit
5b53c5f4b9
|
@ -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++ ) {
|
for (uint i = 0; i < pledges.length; i++ ) {
|
||||||
uint64 idPledge = uint64( pledges[i] & (D64-1) );
|
normalizePledge( pledges[i] );
|
||||||
|
|
||||||
normalizePledge(idPledge);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue