Remember coin on rpc page and check chains are synced to send offers and

bids.
This commit is contained in:
tecnovert
2019-07-31 20:21:41 +02:00
parent 31766508b4
commit 9a0f237019
4 changed files with 37 additions and 4 deletions

View File

@@ -270,12 +270,19 @@ def make_rpc_func(bin_dir, data_dir, chain):
nonlocal bin_dir
nonlocal data_dir
nonlocal chain
# Debug ci
try:
os.system('cat ' + os.path.join(data_dir, 'debug.log'))
except Exception as ex:
logger.error(ex)
return callrpc_cli(bin_dir, data_dir, chain, cmd, cfg.PARTICL_CLI)
return rpc_func
def waitForRPC(rpc_func, wallet=None):
for i in range(5):
for i in range(10):
try:
rpc_func('getwalletinfo')
return