diff --git a/bitcoin/src/bip158.rs b/bitcoin/src/bip158.rs index 8a1e4351..cb7d009c 100644 --- a/bitcoin/src/bip158.rs +++ b/bitcoin/src/bip158.rs @@ -421,7 +421,7 @@ impl GcsFilter { /// Golomb-Rice encodes a number `n` to a bit stream (parameter 2^k). fn golomb_rice_encode( &self, - writer: &mut BitStreamWriter, + writer: &mut BitStreamWriter<'_, W>, n: u64, ) -> Result where