Skip to content

Commit 1121a3c

Browse files
committed
refactor(verification): update docstrings
1 parent 7d481f2 commit 1121a3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hathor/verification/verification_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def validate_full(
6868
def verify_basic(self, vertex: BaseTransaction, *, skip_block_weight_verification: bool = False) -> None:
6969
"""Basic verifications (the ones without access to dependencies: parents+inputs). Raises on error.
7070
71-
To be implemented by tx/block, used by `self.validate_basic`. Should not modify the validation state."""
71+
Used by `self.validate_basic`. Should not modify the validation state."""
7272
match vertex.version:
7373
case TxVersion.REGULAR_BLOCK | TxVersion.MERGE_MINED_BLOCK:
7474
assert isinstance(vertex, Block)
@@ -82,7 +82,7 @@ def verify_basic(self, vertex: BaseTransaction, *, skip_block_weight_verificatio
8282
def verify(self, vertex: BaseTransaction, *, reject_locked_reward: bool = True) -> None:
8383
"""Run all verifications. Raises on error.
8484
85-
To be implemented by tx/block, used by `self.validate_full`. Should not modify the validation state."""
85+
Used by `self.validate_full`. Should not modify the validation state."""
8686
match vertex.version:
8787
case TxVersion.REGULAR_BLOCK | TxVersion.MERGE_MINED_BLOCK:
8888
assert isinstance(vertex, Block)

0 commit comments

Comments
 (0)