We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4548a8 commit fe3a0ccCopy full SHA for fe3a0cc
1 file changed
src/cli/subcommands/mpool_cmd.rs
@@ -35,7 +35,7 @@ pub enum MpoolCommands {
35
/// Get the current nonce for an address
36
Nonce {
37
/// Address to check nonce for
38
- address: String,
+ address: Address,
39
},
40
/// Print mempool stats
41
Stat {
@@ -281,7 +281,6 @@ impl MpoolCommands {
281
Ok(())
282
}
283
Self::Nonce { address } => {
284
- let address = Address::from_str(&address)?;
285
let nonce = MpoolGetNonce::call(&client, (address,)).await?;
286
println!("{nonce}");
287
0 commit comments