fix addDonor call after merge

This commit is contained in:
perissology 2017-09-28 12:03:36 -07:00
parent cea412426d
commit 633d185989
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ contract LiquidPledging is LiquidPledgingBase {
/// donor, a delegate or a project
function donate(uint64 idDonor, uint64 idReceiver) payable {// TODO change to `pledge()`
if (idDonor == 0) {
idDonor = addDonor('', 259200); // default to 3 day commitTime
idDonor = addDonor('', 259200, ILiquidPledgingPlugin(0x0); // default to 3 day commitTime
}
NoteManager storage sender = findManager(idDonor);