This commit is contained in:
2025-09-23 13:55:00 -04:00
parent 86e9e50059
commit eef33c55a6
2 changed files with 22 additions and 7 deletions

View File

@@ -147,7 +147,10 @@ fn get_client_from_cookie(url: &String,network: &NetworkParams)->Result<(Client,
match Client::new(&url[..], Auth::CookieFile(cookie.into())) {
Ok(client) => {
match client.get_blockchain_info(){
Ok(bcinfo) => Ok((client,bcinfo)),
Ok(bcinfo) => {
println!("cristoporco");
Ok((client,bcinfo))
},
Err(err) => {
Err(err.into())
}