mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-08-24 10:05:29 -05:00
Update "Could not find parent coin" error log to print hex and not bytes (#17373)
Update "can not find parent coin" error log
This commit is contained in:
@@ -752,7 +752,7 @@ class WalletStateManager:
|
||||
[coin_state.coin.parent_coin_info], peer=peer, fork_height=fork_height
|
||||
)
|
||||
if len(response) == 0:
|
||||
self.log.warning(f"Could not find a parent coin with ID: {coin_state.coin.parent_coin_info}")
|
||||
self.log.warning(f"Could not find a parent coin with ID: {coin_state.coin.parent_coin_info.hex()}")
|
||||
return None, None
|
||||
parent_coin_state = response[0]
|
||||
assert parent_coin_state.spent_height == coin_state.created_height
|
||||
|
||||
Reference in New Issue
Block a user