Sfoglia il codice sorgente

v1.17: tokens: fix url clap arg name (backport of #34371) (#34375)

tokens: fix url clap arg name (#34371)

Fix url clap arg name

(cherry picked from commit e8945d2ed56bb8d88245577b483f28550f809549)

Co-authored-by: Tyera <tyera@solana.com>
mergify[bot] 1 anno fa
parent
commit
01306a6e1e
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      tokens/src/arg_parser.rs

+ 1 - 1
tokens/src/arg_parser.rs

@@ -652,7 +652,7 @@ where
 {
     let matches = get_matches(args);
     let config_file = matches.value_of("config_file").unwrap().to_string();
-    let url = matches.value_of("url").map(|x| x.to_string());
+    let url = matches.value_of("json_rpc_url").map(|x| x.to_string());
 
     let command = match matches.subcommand() {
         ("distribute-tokens", Some(matches)) => {