Skip to content

Commit

Permalink
fix: catch update_reward_lock_metadata exceptions (#1029)
Browse files Browse the repository at this point in the history
  • Loading branch information
glevco authored May 8, 2024
1 parent 2ed8b14 commit e947404
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hathor/vertex_handler/vertex_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ def _validate_vertex(
return False

if not metadata.validation.is_fully_connected():
# TODO: Remove this from here after a refactor in metadata initialization
vertex.update_reward_lock_metadata()
try:
# TODO: Remove this from here after a refactor in metadata initialization
vertex.update_reward_lock_metadata()
self._verification_service.validate_full(vertex, reject_locked_reward=reject_locked_reward)
except HathorError as e:
if not fails_silently:
Expand Down

0 comments on commit e947404

Please sign in to comment.