From cc3da6c75fd2169bed77d706ed473bfdc32986af Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 3 Jun 2020 18:48:27 +0200 Subject: [PATCH] follow-up prev --- electrum/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/wallet.py b/electrum/wallet.py index 74c8a78b0..23d6b2b1e 100644 --- a/electrum/wallet.py +++ b/electrum/wallet.py @@ -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(