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