commit cc3da6c75fd2169bed77d706ed473bfdc32986af
parent b6d56ece8283a928edf087003f7fa33c6968ae8d
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 3 Jun 2020 18:48:27 +0200
follow-up prev
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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(