From: Valentine Wallace Date: Fri, 28 Oct 2022 15:26:40 +0000 (-0400) Subject: Fix weird import format in persist X-Git-Tag: v0.0.113~19^2~1 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=7203c8328aa5431ff5f8406db2208567032e9af1;p=rust-lightning Fix weird import format in persist --- 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