X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fverifier.rs;fp=src%2Fverifier.rs;h=5e912446d3a219ad22f8363a3b329a254f45cbb9;hb=e93aff4aff39c4d68960d59c28c40570e18732f8;hp=6813ff7d3dd766da51d0ae23779e27f2ea8c76de;hpb=f1a3c914dfccbdf1ed38d2b51075015b5d766498;p=rapid-gossip-sync-server diff --git a/src/verifier.rs b/src/verifier.rs index 6813ff7..5e91244 100644 --- a/src/verifier.rs +++ b/src/verifier.rs @@ -3,6 +3,7 @@ use std::ops::Deref; use std::sync::Arc; use std::sync::Mutex; +use bitcoin::blockdata::constants::ChainHash; use bitcoin::{BlockHash, TxOut}; use bitcoin::blockdata::block::Block; use bitcoin::hashes::Hash; @@ -84,7 +85,7 @@ impl ChainVerifier where L::Target: } impl UtxoLookup for ChainVerifier where L::Target: Logger { - fn get_utxo(&self, _genesis_hash: &BlockHash, short_channel_id: u64) -> UtxoResult { + fn get_utxo(&self, _genesis_hash: &ChainHash, short_channel_id: u64) -> UtxoResult { let res = UtxoFuture::new(); let fut = res.clone(); let graph_ref = Arc::clone(&self.graph);