Skip to content

Commit

Permalink
Await self_is_synced() (#18772)
Browse files Browse the repository at this point in the history
Update full_node_simulator.py
  • Loading branch information
emlowe authored Nov 6, 2024
1 parent 816462d commit 7dd1324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chia/simulator/full_node_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ async def self_is_synced(self) -> bool:
return await self.full_node.synced()

async def wallet_is_synced(self, wallet_node: WalletNode, peak_height: Optional[uint32] = None) -> bool:
if not self.self_is_synced():
if not await self.self_is_synced():
# Depending on races, may not be covered every time
return False # pragma: no cover
if not await wallet_node.wallet_state_manager.synced():
Expand Down

0 comments on commit 7dd1324

Please sign in to comment.