Skip to content

Getting balance results in error #412

@ssantos21

Description

@ssantos21

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions