Skip to content

Commit c955e97

Browse files
committed
Fix assertion
1 parent 7cf2c04 commit c955e97

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/vault/minivault_contracts.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
class Vault(StandardP2TR):
1212
def __init__(self, alternate_pk: Optional[bytes], spend_delay: int, recover_pk: bytes, unvault_pk: bytes, *, has_partial_revault=True, has_early_recover=True):
13-
assert (alternate_pk is None or len(alternate_pk) == 32) and len(recover_pk) == 32 and len(unvault_pk)
13+
assert (alternate_pk is None or len(alternate_pk) == 32) and len(recover_pk) == 32 and len(unvault_pk) == 32
1414

1515
self.alternate_pk = alternate_pk
1616
self.spend_delay = spend_delay

examples/vault/vault_contracts.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
class Vault(StandardP2TR):
1212
def __init__(self, alternate_pk: Optional[bytes], spend_delay: int, recover_pk: bytes, unvault_pk: bytes, *, has_partial_revault=True, has_early_recover=True):
13-
assert (alternate_pk is None or len(alternate_pk) == 32) and len(recover_pk) == 32 and len(unvault_pk)
13+
assert (alternate_pk is None or len(alternate_pk) == 32) and len(recover_pk) == 32 and len(unvault_pk) == 32
1414

1515
self.alternate_pk = alternate_pk
1616
self.spend_delay = spend_delay

0 commit comments

Comments
 (0)