From 2e9cfb98001be0de9907366fc4dca71ea30b917d Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 16 Aug 2016 12:41:15 +0200 Subject: [PATCH] small fixes for addrequest --- lib/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/commands.py b/lib/commands.py index fb98a4ba..502f19f1 100644 --- a/lib/commands.py +++ b/lib/commands.py @@ -580,10 +580,10 @@ class Commands: @command('w') def addrequest(self, amount, memo='', expiration=None, force=False): """Create a payment request.""" - addr = self.wallet.get_unused_address(None) + addr = self.wallet.get_unused_address() if addr is None: if force: - addr = self.wallet.create_new_address(None, False) + addr = self.wallet.create_new_address(False) else: return False amount = int(COIN*Decimal(amount))