tests: Fix test_reload for Particl v23

This commit is contained in:
tecnovert
2022-11-21 15:36:36 +02:00
parent 7bc411eb98
commit b5b43a8bf3
3 changed files with 30 additions and 10 deletions
+1 -1
View File
@@ -361,7 +361,7 @@ class Test(unittest.TestCase):
num_blocks = 3
logging.info('Waiting for Particl chain height %d', num_blocks)
for i in range(60):
particl_blocks = cls.swap_clients[0].callrpc('getblockchaininfo')['blocks']
particl_blocks = cls.swap_clients[0].callrpc('getblockcount')
print('particl_blocks', particl_blocks)
if particl_blocks >= num_blocks:
break