mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-10-23 01:58:32 +02:00
Replace custom hyper client with reqwest (#593)
* [DNM] Replace custom hyper client with reqwest * Fix runtime error
This commit is contained in:
@@ -156,7 +156,7 @@ fn real_main() -> i32 {
|
||||
global::init_global_accept_fee_base(config.members.as_ref().unwrap().wallet.accept_fee_base());
|
||||
|
||||
let wallet_config = config.clone().members.unwrap().wallet;
|
||||
let node_client = HTTPNodeClient::new(&wallet_config.check_node_api_http_addr, None);
|
||||
let node_client = HTTPNodeClient::new(&wallet_config.check_node_api_http_addr, None).unwrap();
|
||||
|
||||
cmd::wallet_command(&args, config, node_client)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user