From c6aabe1bb410f2382988d7a692c8025416dad87b Mon Sep 17 00:00:00 2001 From: YakupAltay Date: Thu, 29 Feb 2024 20:16:01 +0300 Subject: [PATCH] Fix gas-prices & fees parameters in create_validator function --- src-tauri/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 06b41a1..08be441 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -878,7 +878,7 @@ fn create_validator( --chain-id=$CHAIN_ID \ --gas=auto \ --gas-adjustment=1.4 \ - --gas-prices={fees}$DENOM \ + --fees={fees}$DENOM \ --from={wallet_name}' 2>&1"#, password = my_boxed_session.walletpassword, ), @@ -896,7 +896,7 @@ fn create_validator( --commission-max-rate=0.20 \ --commission-max-change-rate=0.01 \ --gas=auto \ - --fees={fees}$DENOM \ + --gas-prices={fees}$DENOM \ --min-self-delegation=1 \ --details={details}'", password = my_boxed_session.walletpassword,