mirror of
https://github.com/status-im/liquid-funding.git
synced 2025-02-02 22:54:21 +00:00
fix addDonor call after merge
This commit is contained in:
parent
cea412426d
commit
633d185989
@ -24,7 +24,7 @@ contract LiquidPledging is LiquidPledgingBase {
|
|||||||
/// donor, a delegate or a project
|
/// donor, a delegate or a project
|
||||||
function donate(uint64 idDonor, uint64 idReceiver) payable {// TODO change to `pledge()`
|
function donate(uint64 idDonor, uint64 idReceiver) payable {// TODO change to `pledge()`
|
||||||
if (idDonor == 0) {
|
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);
|
NoteManager storage sender = findManager(idDonor);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user