Skip to content

Commit

Permalink
fix deprecated warning
Browse files Browse the repository at this point in the history
  • Loading branch information
RCasatta committed Apr 26, 2024
1 parent 563263c commit 034be60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slice_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ mod tests {
let txs: HashMap<_, _> = block
.txdata
.into_iter()
.map(|tx| (tx.txid(), bitcoin::consensus::serialize(&tx)))
.map(|tx| (tx.compute_txid(), bitcoin::consensus::serialize(&tx)))
.collect();

let cache_size = 600_000;
Expand Down

0 comments on commit 034be60

Please sign in to comment.