Skip to content

Commit

Permalink
fix rpc_getblocksnapshot.py
Browse files Browse the repository at this point in the history
Signed-off-by: Stanislav Frolov <[email protected]>
  • Loading branch information
frolosofsky committed Feb 19, 2019
1 parent 7a5ed8c commit f429faf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/functional/rpc_getblocksnapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def check():
and res['snapshot_finalized'] == True
and len(res['snapshot_hash']) == 64
and len(res['stake_modifier']) == 64)
wait_until(check)

def wait_valid_non_finalized(node, height):
def check():
Expand All @@ -90,6 +91,7 @@ def check():
and res['snapshot_finalized'] == False
and len(res['snapshot_hash']) == 64
and len(res['stake_modifier']) == 64)
wait_until(check)

# generate two forks that are available for node0
# 0 ... 5 ... 10 ... 25
Expand Down

0 comments on commit f429faf

Please sign in to comment.