update clap to v3: client

This commit is contained in:
klykov
2022-03-08 12:38:22 +01:00
parent f7f6d2b99a
commit a8a3f23b66
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ async-trait = "0.1.52"
base64 = "0.13.0"
bincode = "1.3.3"
bs58 = "0.4.0"
clap = "3.1.5"
clap = { version = "3.1.5", features = ["cargo"] }
crossbeam-channel = "0.5"
futures-util = "0.3.21"
indicatif = "0.16.2"

View File

@@ -127,7 +127,7 @@ impl BlockhashQuery {
}
}
pub fn new_from_matches(matches: &ArgMatches<'_>) -> Self {
pub fn new_from_matches(matches: &ArgMatches) -> Self {
let blockhash = value_of(matches, BLOCKHASH_ARG.name);
let sign_only = matches.is_present(SIGN_ONLY_ARG.name);
let nonce_account = pubkey_of(matches, NONCE_ARG.name);