From fbc23a61a39618d4ca6ddba4fd45456f9e8f4fbf Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sat, 11 Jul 2015 21:03:02 +0200 Subject: [PATCH] fix cmdline addrequest --- lib/commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/commands.py b/lib/commands.py index ab6c1b90c..41923e0c1 100644 --- 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')