From b5b6346fd56c17ad74219c2b64006c9c4dba6a28 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sat, 11 May 2024 15:55:36 +0000 Subject: [PATCH] [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`. --- lightning/src/util/sweep.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5