Clean up formatting: remove trailing whitespace in daemon.rs
This commit is contained in:
parent
b1d6c66b6d
commit
63593973ba
@ -106,7 +106,7 @@ fn rpc_connect(rpcwallet: Option<String>, network: Network, mut rpc_url: String,
|
|||||||
let builder = jsonrpc::simple_http::SimpleHttpTransport::builder()
|
let builder = jsonrpc::simple_http::SimpleHttpTransport::builder()
|
||||||
.url(&rpc_url)?
|
.url(&rpc_url)?
|
||||||
.timeout(Duration::from_secs(30));
|
.timeout(Duration::from_secs(30));
|
||||||
|
|
||||||
let cookie_path = match cookie_path {
|
let cookie_path = match cookie_path {
|
||||||
Some(path) => path,
|
Some(path) => path,
|
||||||
None => {
|
None => {
|
||||||
@ -119,7 +119,7 @@ fn rpc_connect(rpcwallet: Option<String>, network: Network, mut rpc_url: String,
|
|||||||
default_path
|
default_path
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
let daemon_auth = SensitiveAuth(Auth::CookieFile(cookie_path));
|
let daemon_auth = SensitiveAuth(Auth::CookieFile(cookie_path));
|
||||||
let builder = match daemon_auth.get_auth() {
|
let builder = match daemon_auth.get_auth() {
|
||||||
Auth::None => builder,
|
Auth::None => builder,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user