SomberNight
6 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
2 changed files with
3 additions and
1 deletions
-
electrum/gui/kivy/main_window.py
-
electrum/gui/kivy/uix/screens.py
|
|
@ -6,6 +6,7 @@ import datetime |
|
|
|
import traceback |
|
|
|
from decimal import Decimal |
|
|
|
import threading |
|
|
|
import asyncio |
|
|
|
|
|
|
|
from electrum.bitcoin import TYPE_ADDRESS |
|
|
|
from electrum.storage import WalletStorage |
|
|
@ -280,6 +281,7 @@ class ElectrumWindow(App): |
|
|
|
self.is_exit = False |
|
|
|
self.wallet = None |
|
|
|
self.pause_time = 0 |
|
|
|
self.asyncio_loop = asyncio.get_event_loop() |
|
|
|
|
|
|
|
App.__init__(self)#, **kwargs) |
|
|
|
|
|
|
|
|
|
@ -175,7 +175,7 @@ class SendScreen(CScreen): |
|
|
|
self.payment_request_queued = text |
|
|
|
return |
|
|
|
try: |
|
|
|
uri = parse_URI(text, self.app.on_pr) |
|
|
|
uri = parse_URI(text, self.app.on_pr, loop=self.app.asyncio_loop) |
|
|
|
except InvalidBitcoinURI as e: |
|
|
|
self.app.show_info(_("Error parsing URI") + f":\n{e}") |
|
|
|
return |
|
|
|