]> Untitled Git - bdk/commitdiff
Use lazy_static
authorTobin Harding <me@tobin.cc>
Wed, 10 Feb 2021 00:41:50 +0000 (11:41 +1100)
committerTobin Harding <me@tobin.cc>
Wed, 24 Feb 2021 02:30:48 +0000 (13:30 +1100)
`lazy_static` is not imported, this error is hidden behind the
`compact_filters` feature flag.

src/blockchain/compact_filters/store.rs

index 3b879194513e9f36e0ab9fdc0609f1ac6021ba63..bc81f066a439663d75a0029a11a87fc20b285a54 100644 (file)
@@ -46,6 +46,8 @@ use bitcoin::BlockHash;
 use bitcoin::BlockHeader;
 use bitcoin::Network;
 
+use lazy_static::lazy_static;
+
 use super::CompactFiltersError;
 
 lazy_static! {