Skip to content

Commit

Permalink
Merge pull request #1227 from CityOfZion/CU-86drpncjw
Browse files Browse the repository at this point in the history
CU-86drpncjw - Refactor example_tests/test_htlc.py to use BoaConstructor
  • Loading branch information
meevee98 authored Mar 25, 2024
2 parents 945af7b + 1b18091 commit 7fd1f46
Show file tree
Hide file tree
Showing 2 changed files with 255 additions and 404 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 7fd1f46

Please sign in to comment.