electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit a8ed934a7f4c450df1b0714964ca07139390387f
parent e4ea07c16834976e56f0cdcbd584659014cda90e
Author: ThomasV <thomasv@gitorious>
Date:   Tue, 21 Jul 2015 16:30:25 +0200

fix bug with make_unsigned_request

Diffstat:
Mlib/paymentrequest.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/paymentrequest.py b/lib/paymentrequest.py @@ -290,11 +290,11 @@ class PaymentRequest: def make_unsigned_request(req): from transaction import Transaction addr = req['address'] - time = req['time'] + time = req.get('time', 0) + expires = req.get('exp', 0) amount = req['amount'] if amount is None: amount = 0 - expires = req['exp'] memo = req['memo'] script = Transaction.pay_script('address', addr).decode('hex') outputs = [(script, amount)]