qt receive tab: fix on-chain pay.requests without amount

This commit is contained in:
SomberNight 2019-09-03 18:33:49 +02:00
parent c3504cec94
commit ff94240139
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -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: