URI: 
       tsmall fixes for addrequest - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 2e9cfb98001be0de9907366fc4dca71ea30b917d
   DIR parent a088940496dcd457b112abe175052aa17bb545ce
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Tue, 16 Aug 2016 12:41:15 +0200
       
       small fixes for addrequest
       
       Diffstat:
         M lib/commands.py                     |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/lib/commands.py b/lib/commands.py
       t@@ -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))