Skip to content

Commit

Permalink
Udpate return type
Browse files Browse the repository at this point in the history
  • Loading branch information
ercecan committed Jan 9, 2025
1 parent 72dd813 commit ab88a60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bitcoin.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use std::{
collections::HashSet,
collections::{HashMap, HashSet},
fs::File,
future::Future,
process::Stdio,
Expand Down Expand Up @@ -172,7 +172,7 @@ impl BitcoinNode {
output: String,
// Either raw txs or txids, should be in mempool and in correct order
transactions: Vec<String>,
) -> bitcoincore_rpc::Result<bitcoin::BlockHash> {
) -> bitcoincore_rpc::Result<HashMap<String, String>> {
RpcApi::call(self, "generateblock", &[output.into(), transactions.into()]).await
}
}
Expand Down

0 comments on commit ab88a60

Please sign in to comment.