commit fbc23a61a39618d4ca6ddba4fd45456f9e8f4fbf
parent dff8f6b338563bf211cafd877c0f7c67e493f94f
Author: ThomasV <thomasv@gitorious>
Date: Sat, 11 Jul 2015 21:03:02 +0200
fix cmdline addrequest
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/commands.py b/lib/commands.py
@@ -571,7 +571,8 @@ class Commands:
else:
return False
amount = int(Decimal(requested_amount)*COIN)
- req = self.wallet.add_payment_request(addr, amount, memo, expiration, self.config)
+ req = self.wallet.make_payment_request(addr, amount, memo, expiration)
+ self.wallet.add_payment_request(req, self.config)
return self._format_request(req)
@command('w')