From e2d0ede63081353da95137df590b1f70447aa4d6 Mon Sep 17 00:00:00 2001 From: Trent Nelson Date: Fri, 11 Feb 2022 15:31:28 -0700 Subject: [PATCH] cli: accept 'system' program id mnemonic for with seed --- cli/src/wallet.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/wallet.rs b/cli/src/wallet.rs index 7594d97a48..565f7711a4 100644 --- a/cli/src/wallet.rs +++ b/cli/src/wallet.rs @@ -276,7 +276,7 @@ fn resolve_derived_address_program_id(matches: &ArgMatches<'_>, arg_name: &str) matches.value_of(arg_name).and_then(|v| { let upper = v.to_ascii_uppercase(); match upper.as_str() { - "NONCE" => Some(system_program::id()), + "NONCE" | "SYSTEM" => Some(system_program::id()), "STAKE" => Some(stake::program::id()), "VOTE" => Some(solana_vote_program::id()), _ => pubkey_of(matches, arg_name),