Getting balance results in error
ssantos21 opened this issue · comments
The cargo run --bin cli -- wallet -b
command, for unknown reason so far, sometimes throws the errors below.
In this case, it is necessary to stop the daemon, run it again and run the command again.
thread 'tokio-runtime-worker-0' panicked at 'called `Result::unwrap()` on an `Err` value: Error("missing field `id`", line: 1, column: 256)', client/src/wallet/wallet.rs:537:14
or
thread 'tokio-runtime-worker-0' panicked at 'called `Result::unwrap()` on an `Err` value: Error("invalid value: integer `-1492471`, expected u64", line: 1, column: 76)', client/src/wallet/wallet.rs:537:14
Usually, this last error happens when there is an unconfirmed balance in the wallet, but it is not the only situation in which it happens.