test.py xmrwallet: ensure minimum initial blocks are mined

This commit is contained in:
The MMGen Project 2023-03-24 20:31:11 +00:00
commit 2aab4fff1b
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2

View file

@ -657,7 +657,7 @@ class TestSuiteXMRWallet(TestSuiteBase):
for count in range(500):
ub = await get_balance(dest,count)
if dest.test(ub) is True or ( chk_bal_chg and ub != ub_start ):
if h > 300 and (dest.test(ub) is True or ( chk_bal_chg and ub != ub_start )):
imsg('')
oqmsg_r('+')
print_balance(dest,ub)