Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ljoss17 committed Oct 15, 2024
1 parent dff8d3e commit 82f1448
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tools/test-framework/src/chain/cli/provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ pub fn submit_consumer_chain_proposal(
let output: serde_json::Value =
serde_json::from_str(&raw_output.stdout).map_err(handle_generic_error)?;

let txhash = output.get("txhash").and_then(|code| code.as_str()).ok_or_else(|| Error::generic(eyre!("failed to extract 'code' from 'tx gov submit-legacy-proposal consumer-addition' command")))?;

let output_code = output.get("code").and_then(|code| code.as_u64()).ok_or_else(|| Error::generic(eyre!("failed to extract 'code' from 'tx gov submit-legacy-proposal consumer-addition' command")))?;

// Proposal submission might fail due to account sequence error.
Expand Down

0 comments on commit 82f1448

Please sign in to comment.