tfollow-up prev - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit cc3da6c75fd2169bed77d706ed473bfdc32986af DIR parent b6d56ece8283a928edf087003f7fa33c6968ae8d HTML Author: ThomasV <thomasv@electrum.org> Date: Wed, 3 Jun 2020 18:48:27 +0200 follow-up prev Diffstat: M electrum/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/electrum/wallet.py b/electrum/wallet.py t@@ -1724,7 +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 + amount = amount or 0 timestamp = int(time.time()) _id = bh2u(sha256d(address + "%d"%timestamp))[0:10] return OnchainInvoice(