]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Fix weird import format in persist
authorValentine Wallace <vwallace@protonmail.com>
Fri, 28 Oct 2022 15:26:40 +0000 (11:26 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Thu, 1 Dec 2022 05:22:44 +0000 (00:22 -0500)
lightning/src/util/persist.rs

index 40c042a27ff702c457a1c856db2097720cd4caf3..31e53239410cc69ece83795bb3456971a855aaf3 100644 (file)
 
 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