From 7203c8328aa5431ff5f8406db2208567032e9af1 Mon Sep 17 00:00:00 2001 From: Valentine Wallace Date: Fri, 28 Oct 2022 11:26:40 -0400 Subject: [PATCH] Fix weird import format in persist --- lightning/src/util/persist.rs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/lightning/src/util/persist.rs b/lightning/src/util/persist.rs index 40c042a27..31e532394 100644 --- a/lightning/src/util/persist.rs +++ b/lightning/src/util/persist.rs @@ -10,10 +10,17 @@ use core::ops::Deref; use bitcoin::hashes::hex::ToHex; -use crate::io::{self}; +use crate::io; use crate::routing::scoring::WriteableScore; -use crate::{chain::{keysinterface::{Sign, KeysInterface}, self, transaction::{OutPoint}, chaininterface::{BroadcasterInterface, FeeEstimator}, chainmonitor::{Persist, MonitorUpdateId}, channelmonitor::{ChannelMonitor, ChannelMonitorUpdate}}, ln::channelmanager::ChannelManager, routing::gossip::NetworkGraph}; +use crate::chain; +use crate::chain::chaininterface::{BroadcasterInterface, FeeEstimator}; +use crate::chain::chainmonitor::{Persist, MonitorUpdateId}; +use crate::chain::keysinterface::{Sign, KeysInterface}; +use crate::chain::transaction::OutPoint; +use crate::chain::channelmonitor::{ChannelMonitor, ChannelMonitorUpdate}; +use crate::ln::channelmanager::ChannelManager; +use crate::routing::gossip::NetworkGraph; use super::{logger::Logger, ser::Writeable}; /// Trait for a key-value store for persisting some writeable object at some key -- 2.39.5