address_sync: "up_to_date" now waits for SPV
This commit is contained in:
@@ -2,10 +2,12 @@ from decimal import Decimal
|
||||
import getpass
|
||||
import datetime
|
||||
import logging
|
||||
from typing import Optional
|
||||
|
||||
from electrum.gui import BaseElectrumGui
|
||||
from electrum import util
|
||||
from electrum import WalletStorage, Wallet
|
||||
from electrum.wallet import Abstract_Wallet
|
||||
from electrum.wallet_db import WalletDB
|
||||
from electrum.util import format_satoshis
|
||||
from electrum.bitcoin import is_address, COIN
|
||||
@@ -41,7 +43,7 @@ class ElectrumGui(BaseElectrumGui):
|
||||
self.str_amount = ""
|
||||
self.str_fee = ""
|
||||
|
||||
self.wallet = Wallet(db, storage, config=config)
|
||||
self.wallet = Wallet(db, storage, config=config) # type: Optional[Abstract_Wallet]
|
||||
self.wallet.start_network(self.network)
|
||||
self.contacts = self.wallet.contacts
|
||||
|
||||
|
||||
Reference in New Issue
Block a user