Skip to content

Commit

Permalink
Merge #645: bitcoind: use the node client to make node requests
Browse files Browse the repository at this point in the history
9255b5e bitcoind: use the node client to make node requests (Antoine Poinsot)

Pull request description:

  Props to Kevin for finding this rather significant bug. We should really be catching this type of bugs with code review..

ACKs for top commit:
  darosior:
    Ironical self-ACK 9255b5e

Tree-SHA512: da7b54e73201ce7f6003b7c939a576a33f6b3ea7234370b976dc9a6525cb3a18a10d160d60932b44e445fbb6057d07efde283fcfad1974c6734b5b4d2d0868de
  • Loading branch information
darosior committed Aug 29, 2023
2 parents d5c98aa + 9255b5e commit ea3804a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bitcoin/d/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

Expand Down

0 comments on commit ea3804a

Please sign in to comment.