diff --git a/impls/src/node_clients/http.rs b/impls/src/node_clients/http.rs index a9c13ee..3fe9b2b 100644 --- a/impls/src/node_clients/http.rs +++ b/impls/src/node_clients/http.rs @@ -108,7 +108,7 @@ impl NodeClient for HTTPNodeClient { let mut api_outputs: HashMap = HashMap::new(); let mut tasks = Vec::new(); - for query_chunk in query_params.chunks(500) { + for query_chunk in query_params.chunks(200) { let url = format!("{}/v1/chain/outputs/byids?{}", addr, query_chunk.join("&"),); tasks.push(api::client::get_async::>( url.as_str(), diff --git a/src/bin/cmd/wallet_args.rs b/src/bin/cmd/wallet_args.rs index 43f9521..145a9c2 100644 --- a/src/bin/cmd/wallet_args.rs +++ b/src/bin/cmd/wallet_args.rs @@ -582,7 +582,7 @@ pub fn wallet_command( let mut c = wallet_config.clone(); let mut g = global_wallet_args.clone(); let a = arg_parse!(parse_listen_args(&mut c, &mut g, &args)); - command::listen(&wallet_config, &a, &g) + command::listen(&c, &a, &g) } ("owner_api", Some(_)) => { let mut g = global_wallet_args.clone();