mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-11-24 08:04:35 +03:00
fix typo in logging (#17401)
This commit is contained in:
parent
927ea40f53
commit
9a6de18394
@ -58,7 +58,7 @@ class WalletNodeAPI:
|
||||
else:
|
||||
timestamp = None
|
||||
if timestamp is not None and self.wallet_node.is_timestamp_in_sync(timestamp):
|
||||
self.log.info("Connected to a a synced trusted peer, disconnecting from all untrusted nodes.")
|
||||
self.log.info("Connected to a synced trusted peer, disconnecting from all untrusted nodes.")
|
||||
# Stop peer discovery/connect tasks first
|
||||
if self.wallet_node.wallet_peers is not None:
|
||||
await self.wallet_node.wallet_peers.ensure_is_closed()
|
||||
|
@ -1360,7 +1360,7 @@ async def test_long_sync_untrusted_break(
|
||||
await time_out_assert(600, wallet_height_at_least, True, wallet_node, len(default_400_blocks) - 1)
|
||||
assert time_out_assert(10, synced_to_trusted)
|
||||
assert untrusted_full_node_server.node_id not in wallet_node.synced_peers
|
||||
assert "Connected to a a synced trusted peer, disconnecting from all untrusted nodes." in caplog.text
|
||||
assert "Connected to a synced trusted peer, disconnecting from all untrusted nodes." in caplog.text
|
||||
|
||||
# Make sure the sync was interrupted
|
||||
assert time_out_assert(30, check_sync_canceled)
|
||||
|
Loading…
Reference in New Issue
Block a user