From: Daniela Brozzoni Date: Wed, 24 Aug 2022 22:04:18 +0000 (+0100) Subject: Remove wrong 'cfg()' X-Git-Tag: v0.6.0~7^2~1 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/enum.FileError.html?a=commitdiff_plain;h=a9dffc3a6ca1834f11b00cda27d2466423096e41;p=bdk-cli Remove wrong 'cfg()' maybe_async is used regardless of which feature is activated, so it shouldn't be behind the cfg() --- diff --git a/src/handlers.rs b/src/handlers.rs index 9e0ded0..3806b03 100644 --- a/src/handlers.rs +++ b/src/handlers.rs @@ -71,7 +71,8 @@ use bdk::{ feature = "compact_filters", feature = "rpc" ))] -use bdk_macros::{maybe_async, maybe_await}; +use bdk_macros::maybe_await; +use bdk_macros::maybe_async; #[cfg(feature = "reserves")] use bdk_reserves::reserves::verify_proof; #[cfg(feature = "reserves")]