Skip to content

Commit

Permalink
Remove vector of string from compact_filters options.
Browse files Browse the repository at this point in the history
  • Loading branch information
rajarshimaitra committed Nov 19, 2022
1 parent 9fb651a commit 95719b0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/commands.rs
Expand Up @@ -631,7 +631,6 @@ mod test {
#[cfg(feature = "repl")]
use regex::Regex;


#[test]
fn test_clap_args() {
use clap::CommandFactory;
Expand Down Expand Up @@ -863,7 +862,7 @@ mod test {
"--change_descriptor", "wpkh(xpubDEnoLuPdBep9bzw5LoGYpsxUQYheRQ9gcgrJhJEcdKFB9cWQRyYmkCyRoTqeD4tJYiVVgt6A3rN6rWn9RYhR9sBsGxji29LYWHuKKbdb1ev/1/*)",
"--proxy", "127.0.0.1:9005",
"--proxy_auth", "random_user:random_passwd",
"--node", "127.0.0.1:18444", "127.2.3.1:19695",
"--node", "127.0.0.1:18444",
"--conn_count", "4",
"--skip_blocks", "5",
"get_new_address"];
Expand All @@ -880,7 +879,7 @@ mod test {
descriptor: "wpkh(xpubDEnoLuPdBep9bzw5LoGYpsxUQYheRQ9gcgrJhJEcdKFB9cWQRyYmkCyRoTqeD4tJYiVVgt6A3rN6rWn9RYhR9sBsGxji29LYWHuKKbdb1ev/0/*)".to_string(),
change_descriptor: Some("wpkh(xpubDEnoLuPdBep9bzw5LoGYpsxUQYheRQ9gcgrJhJEcdKFB9cWQRyYmkCyRoTqeD4tJYiVVgt6A3rN6rWn9RYhR9sBsGxji29LYWHuKKbdb1ev/1/*)".to_string()),
compactfilter_opts: CompactFilterOpts{
address: vec!["127.0.0.1:18444".to_string(), "127.2.3.1:19695".to_string()],
address: vec!["127.0.0.1:18444".to_string()],
conn_count: 4,
skip_blocks: 5,
},
Expand Down

0 comments on commit 95719b0

Please sign in to comment.