Skip to content

Commit e947404

Browse files
authored
fix: catch update_reward_lock_metadata exceptions (#1029)
1 parent 2ed8b14 commit e947404

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hathor/vertex_handler/vertex_handler.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,9 @@ def _validate_vertex(
150150
return False
151151

152152
if not metadata.validation.is_fully_connected():
153-
# TODO: Remove this from here after a refactor in metadata initialization
154-
vertex.update_reward_lock_metadata()
155153
try:
154+
# TODO: Remove this from here after a refactor in metadata initialization
155+
vertex.update_reward_lock_metadata()
156156
self._verification_service.validate_full(vertex, reject_locked_reward=reject_locked_reward)
157157
except HathorError as e:
158158
if not fails_silently:

0 commit comments

Comments
 (0)