|
|
|
|
@ -45,6 +45,8 @@ def main():
|
|
|
|
|
wallet_path = get_wallet_path(wallet_name, None) |
|
|
|
|
wallet = open_test_wallet_maybe(wallet_path, wallet_name, max_mix_depth, wallet_password_stdin=options_org.wallet_password_stdin) |
|
|
|
|
wallet_service = WalletService(wallet) |
|
|
|
|
if wallet_service.rpc_error: |
|
|
|
|
sys.exit(EXIT_FAILURE) |
|
|
|
|
# in this script, we need the wallet synced before |
|
|
|
|
# logic processing for some paths, so do it now: |
|
|
|
|
while not wallet_service.synced: |
|
|
|
|
|