Skip to content

Commit

Permalink
Merge pull request #45 from stevenroose/fix-sha256d
Browse files Browse the repository at this point in the history
Fix two more sha256d::Hash argument nits
  • Loading branch information
stevenroose committed May 8, 2019
2 parents e441e3d + 09ad756 commit 037ae7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,8 @@ pub trait RpcApi: Sized {

fn get_tx_out_proof(
&self,
txids: &[sha256d::Hash],
block_hash: Option<sha256d::Hash>,
txids: &[&sha256d::Hash],
block_hash: Option<&sha256d::Hash>,
) -> Result<Vec<u8>> {
let mut args = [into_json(txids)?, opt_into_json(block_hash)?];
let hex: String = self.call("gettxoutproof", handle_defaults(&mut args, &[null()]))?;
Expand Down

0 comments on commit 037ae7a

Please sign in to comment.