Improve QR for BlueWallet Electrum Server

This commit is contained in:
Taylor Helsper 2021-07-04 23:48:23 -05:00
parent 347fb1b607
commit b5e6c9f1f4

View File

@ -416,7 +416,7 @@ def page_lnd_pair_wallet():
bluewallet_lndhub_local_img = "/api/get_qr_code_image?url="+urllib.quote_plus(bluewallet_lndhub_local_text)
bluewallet_lndhub_tor_text = "bluewallet:setlndhuburl?url=http://"+lndhub_onion_url+":3000"
bluewallet_lndhub_tor_img = "/api/get_qr_code_image?url="+urllib.quote_plus(bluewallet_lndhub_tor_text)
bluewallet_electrs_local_text = "bluewallet:setelectrumserver?server="+local_ip+":50002"
bluewallet_electrs_local_text = "bluewallet:setelectrumserver?server="+local_ip+":50002:s"
bluewallet_electrs_local_img = "/api/get_qr_code_image?url="+urllib.quote_plus(bluewallet_electrs_local_text)
bluewallet_electrs_tor_text = "bluewallet:setelectrumserver?server="+electrs_onion_url+":50001" # Use non-SSL for Tor (scans in Bluewallet better)
bluewallet_electrs_tor_img = "/api/get_qr_code_image?url="+urllib.quote_plus(bluewallet_electrs_tor_text)