mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-09-04 18:14:23 -05:00
Merge pull request #12124 from Chia-Network/mh.wallet_node_regression_fix
Fix an accidental regression in the wallet node
This commit is contained in:
@@ -1457,7 +1457,10 @@ class WalletNode:
|
||||
peer = node
|
||||
break
|
||||
if peer is None:
|
||||
peer = synced_peers[0]
|
||||
if len(synced_peers) > 0:
|
||||
peer = synced_peers[0]
|
||||
else:
|
||||
peer = list(all_nodes.values())[0]
|
||||
|
||||
assert peer is not None
|
||||
msg = wallet_protocol.RegisterForCoinUpdates(coin_names, uint32(0))
|
||||
|
||||
Reference in New Issue
Block a user