diff --git a/bitcoin/src/bip158.rs b/bitcoin/src/bip158.rs index d16b511b..b6309d69 100644 --- a/bitcoin/src/bip158.rs +++ b/bitcoin/src/bip158.rs @@ -419,9 +419,9 @@ impl GcsFilter { fn new(k0: u64, k1: u64, p: u8) -> GcsFilter { GcsFilter { k0, k1, p } } /// Golomb-Rice encodes a number `n` to a bit stream (parameter 2^k). - fn golomb_rice_encode<'a, W>( + fn golomb_rice_encode( &self, - writer: &mut BitStreamWriter<'a, W>, + writer: &mut BitStreamWriter, n: u64, ) -> Result where