commit ff94240139ae2198f4a0e1dadeb47c8f5f9a2604
parent c3504cec94c01ecdcdb10ab2f76e0736d75e2b32
Author: SomberNight <somber.night@protonmail.com>
Date: Tue, 3 Sep 2019 18:33:49 +0200
qt receive tab: fix on-chain pay.requests without amount
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/wallet.py b/electrum/wallet.py
@@ -1274,7 +1274,7 @@ class Abstract_Wallet(AddressSynchronizer):
return
out = copy.copy(r)
out['type'] = PR_TYPE_ADDRESS
- out['URI'] = 'bitcoin:' + addr + '?amount=' + format_satoshis(out.get('amount'))
+ out['URI'] = self.get_request_URI(addr)
status, conf = self.get_request_status(addr)
out['status'] = status
if conf is not None: