Skip to content

Commit

Permalink
remove old work-around for a bug in version 1.1.4 and earlier (#17339)
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed Jan 17, 2024
1 parent 7631681 commit 45edd24
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions chia/full_node/full_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -1975,10 +1975,6 @@ async def add_unfinished_block(
validation_start = time.monotonic()
validate_result = await self.blockchain.validate_unfinished_block(block, npc_result)
if validate_result.error is not None:
if validate_result.error == Err.COIN_AMOUNT_NEGATIVE.value:
# TODO: remove in the future, hotfix for 1.1.5 peers to not disconnect older peers
self.log.info(f"Consensus error {validate_result.error}, not disconnecting")
return
raise ConsensusError(Err(validate_result.error))
validation_time = time.monotonic() - validation_start

Expand Down

0 comments on commit 45edd24

Please sign in to comment.