From f3db4f5a9cca14b13e53ec8acd4342a37dafff7b Mon Sep 17 00:00:00 2001 From: Ajinkya Kulkarni Date: Mon, 24 Feb 2025 16:59:55 +0100 Subject: [PATCH] correct denomination --- crates/utils/cw-client/src/cli.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/crates/utils/cw-client/src/cli.rs b/crates/utils/cw-client/src/cli.rs index cfbb555..9f1729a 100644 --- a/crates/utils/cw-client/src/cli.rs +++ b/crates/utils/cw-client/src/cli.rs @@ -71,12 +71,13 @@ impl CliClient { let output = command.output().expect("command output failed").stdout; let output_str: String = std::str::from_utf8(&output).expect("unable to parse command output").to_string(); let json: Value = serde_json::from_str(&output_str).expect("could not convert to JSON"); - let gas_price = &json["price"]["amount"]; - + let mut gas_price = json["price"]["amount"].to_string(); + gas_price.push_str("untrn"); + Self { kind: CliClientType::Neutrond, url, - gas_price: gas_price.to_string(), + gas_price, } }