mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
parent
f4dc93cb7d
commit
54fdb011f9
2 changed files with 3 additions and 2 deletions
|
@ -1152,7 +1152,7 @@ class NetworkJobOnDefaultServer(Logger):
|
|||
raise NotImplementedError() # implemented by subclasses
|
||||
|
||||
async def stop(self):
|
||||
self.network.unregister_callback(self._restart)
|
||||
unregister_callback(self._restart)
|
||||
await self._stop()
|
||||
|
||||
async def _stop(self):
|
||||
|
|
|
@ -46,6 +46,7 @@ import itertools
|
|||
from .i18n import _
|
||||
from .bip32 import BIP32Node, convert_bip32_intpath_to_strpath, convert_bip32_path_to_list_of_uint32
|
||||
from .crypto import sha256
|
||||
from . import util
|
||||
from .util import (NotEnoughFunds, UserCancelled, profiler,
|
||||
format_satoshis, format_fee_satoshis, NoDynamicFeeEstimates,
|
||||
WalletFileException, BitcoinException, MultipleSpendMaxTxOutputs,
|
||||
|
@ -1615,7 +1616,7 @@ class Abstract_Wallet(AddressSynchronizer, ABC):
|
|||
addr = self.get_txout_address(txo)
|
||||
if addr in self.receive_requests:
|
||||
status, conf = self.get_request_status(addr)
|
||||
self.network.trigger_callback('payment_received', self, addr, status)
|
||||
util.trigger_callback('payment_received', self, addr, status)
|
||||
|
||||
def make_payment_request(self, addr, amount, message, expiration):
|
||||
timestamp = int(time.time())
|
||||
|
|
Loading…
Add table
Reference in a new issue