Skip to content

EGLD back payment fails #2129

@rvignolo

Description

@rvignolo

In my scripts, when I broadcast a tx that expects a EGLD payment back, I get the following error here:

let transaction_info_with_results = proxy
.request(GetTxInfo::new(&tx_hash).with_results())
.await
.unwrap();

thread 'main' panicked at /Users/rvignolo/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/multiversx-sdk-0.11.1/src/retrieve_tx_on_network.rs:34:30:
called `Result::unwrap()` on an `Err` value: invalid type: floating point `3.6722491871525605e19`, expected u64 at line 1 column 1069
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Maybe this needs to be a String?

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