Browse Source

test.py xmrwallet: ensure minimum initial blocks are mined

The MMGen Project 2 years ago
parent
commit
2aab4fff1b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/test_py_d/ts_xmrwallet.py

+ 1 - 1
test/test_py_d/ts_xmrwallet.py

@@ -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)