bitcoind: use the node client to make node requests

This commit is contained in:
Antoine Poinsot 2023-08-29 17:28:35 +02:00
parent d5c98aaa3a
commit 9255b5ed94
No known key found for this signature in database
GPG Key ID: E13FC145CD3F4304

View File

@ -429,7 +429,7 @@ impl BitcoinD {
}
fn make_node_request(&self, method: &str, params: &[Box<serde_json::value::RawValue>]) -> Json {
self.make_request(&self.sendonly_client, method, params)
self.make_request(&self.node_client, method, params)
.expect("We must not fail to make a request for more than a minute")
}