Skip to content

Commit

Permalink
remove stray code
Browse files Browse the repository at this point in the history
  • Loading branch information
HarukaMa committed Nov 15, 2024
1 parent a2be540 commit 9e4d87e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions db/insert.py
Original file line number Diff line number Diff line change
Expand Up @@ -1285,8 +1285,6 @@ async def _save_block(self, block: Block):

for ratification in block.ratifications:
if isinstance(ratification, BlockRewardRatify):
# TODO: remove this
block_reward = ratification.amount
if ratification.amount != block_reward:
raise RuntimeError("invalid block reward")
elif isinstance(ratification, PuzzleRewardRatify):
Expand Down

0 comments on commit 9e4d87e

Please sign in to comment.