Skip to content

Commit

Permalink
CU-86drpncjw - Refactor example_tests/test_htlc.py to use BoaConstructor
Browse files Browse the repository at this point in the history
  • Loading branch information
luc10921 committed Mar 21, 2024
1 parent 61ec86c commit 80723f4
Show file tree
Hide file tree
Showing 2 changed files with 252 additions and 405 deletions.
2 changes: 1 addition & 1 deletion boa3_test/examples/htlc.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def manifest_metadata() -> NeoMetadata:
FUNDED_PREFIX: bytes = b'funded'

# Number of milliseconds that need to pass before refunding the contract
LOCK_TIME = 24 * 60 * (60 * 10 ** 3) # 1 day in milliseconds
LOCK_TIME = 7 * 10 ** 3 # 7 seconds in milliseconds

NOT_INITIALIZED: bytes = b'not initialized'
START_TIME: bytes = b'start time'
Expand Down
Loading

0 comments on commit 80723f4

Please sign in to comment.