From: Matt Corallo Date: Sat, 11 May 2024 15:55:36 +0000 (+0000) Subject: [UPSTREAM] Use prelude by universal import, rather than single import X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=b5b6346fd56c17ad74219c2b64006c9c4dba6a28;p=rust-lightning [UPSTREAM] Use prelude by universal import, rather than single import This avoids the bindings trying to figure out what a `lightning::prelude::Vec` is rather than matching it as a `Vec`. --- diff --git a/lightning/src/util/sweep.rs b/lightning/src/util/sweep.rs index 513554968..dd26a8ef8 100644 --- a/lightning/src/util/sweep.rs +++ b/lightning/src/util/sweep.rs @@ -14,7 +14,7 @@ use crate::chain::{self, BestBlock, Confirm, Filter, Listen, WatchedOutput}; use crate::io; use crate::ln::msgs::DecodeError; use crate::ln::types::ChannelId; -use crate::prelude::Vec; +use crate::prelude::*; use crate::sign::{ChangeDestinationSource, OutputSpender, SpendableOutputDescriptor}; use crate::sync::Mutex; use crate::util::logger::Logger;