]> Untitled Git - bdk-cli/commitdiff
Remove wrong 'cfg()'
authorDaniela Brozzoni <danielabrozzoni@protonmail.com>
Wed, 24 Aug 2022 22:04:18 +0000 (23:04 +0100)
committerDaniela Brozzoni <danielabrozzoni@protonmail.com>
Mon, 29 Aug 2022 21:05:43 +0000 (23:05 +0200)
maybe_async is used regardless of which feature is activated, so
it shouldn't be behind the cfg()

src/handlers.rs

index 9e0ded0d24814914f9c9879678d85ac2fa3d2da1..3806b03393d750dc37d8a740ed3790fa0b234f92 100644 (file)
@@ -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")]