mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-07-02 17:41:33 +00:00
![]() 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" } ``` 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. |
||
---|---|---|
.. | ||
testutils | ||
monerod.rs | ||
wallet.rs |