URI: 
       tno empty amount in bip70 - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit f320178db9803db8c7c6cce16ba8c9a7b100f82d
   DIR parent eb3442ab47373d6c9022f79f307d4136aa1ba26e
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Mon, 13 Jul 2015 21:37:41 +0200
       
       no empty amount in bip70
       
       Diffstat:
         M lib/paymentrequest.py               |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/lib/paymentrequest.py b/lib/paymentrequest.py
       t@@ -292,6 +292,8 @@ def make_unsigned_request(req):
            addr = req['address']
            time = req['timestamp']
            amount = req['amount']
       +    if amount is None:
       +        amount = 0
            expires = req['expiration']
            memo = req['memo']
            script = Transaction.pay_script('address', addr).decode('hex')