electrum

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

commit b6d56ece8283a928edf087003f7fa33c6968ae8d
parent 154b9cab50e7de41fe878359e92f44fd3b07c484
Author: ThomasV <thomasv@electrum.org>
Date:   Wed,  3 Jun 2020 18:20:20 +0200

fix #6203: do not let request amount be None

Diffstat:
Melectrum/wallet.py | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/electrum/wallet.py b/electrum/wallet.py @@ -1724,6 +1724,7 @@ class Abstract_Wallet(AddressSynchronizer, ABC): util.trigger_callback('request_status', addr, status) def make_payment_request(self, address, amount, message, expiration): + amount = amount or None timestamp = int(time.time()) _id = bh2u(sha256d(address + "%d"%timestamp))[0:10] return OnchainInvoice(