Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
0xForerunner committed Mar 5, 2024
1 parent 8fc0110 commit cc998b6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions wasm-deploy/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -669,10 +669,9 @@ pub async fn send(address: &str, denom: &Denom, amount: &u128) -> anyhow::Result
pub async fn custom_execute(address: &str, payload: &str) -> anyhow::Result<()> {
println!("Executing {}", address);
let config = CONFIG.read().await;
let value: serde_json::Value = serde_json::from_str(payload)?;
let color = to_colored_json_auto(&value)?;
let msg: serde_json::Value = serde_json::from_str(payload)?;
let color = to_colored_json_auto(&msg)?;
println!("{color}");
let msg = serde_json::to_vec(&value)?;
let key = config.get_active_key().await?;

let chain_info = config.get_active_chain_info()?.clone();
Expand Down

0 comments on commit cc998b6

Please sign in to comment.