Merge #248
248: Wait for wallet to catch up instead of block generation r=thomaseizinger a=da-kami The monero harness wallet always starts a miner that mines new blocks every second. This can conflict with additionally triggering block generation and cause this error: ``` monero_rpc::rpc::monerod: generate blocks response: { "error": { "code": -7, "message": "Block not accepted" }, "id": "1", "jsonrpc": "2.0" } ``` See error in CI run here: https://github.com/comit-network/xmr-btc-swap/runs/2001131193 Since the miner is generating blocks anyway we can wait for the wallet to catch up. Refresh is done upon querying the balance, thus the refresh calls were removed. --- Note: we could also opt for starting the miner optionally. This would make this test more efficient, but is a more intrusive change, thus I opted for this fix for now. Co-authored-by: Daniel Karzel <daniel@comit.network>pull/259/head
commit
17278d1278
Loading…
Reference in new issue