Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2165,9 +2165,10 @@ pub(crate) fn new_channel_anchor_reserve_sats(

#[cfg(test)]
mod tests {
use super::*;
use lightning::util::ser::{Readable, Writeable};

use super::*;

#[test]
fn node_metrics_reads_legacy_rgs_snapshot_timestamp() {
// Pre-#615, `NodeMetrics` persisted `latest_rgs_snapshot_timestamp` as an optional
Expand Down
6 changes: 2 additions & 4 deletions src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,14 @@ use std::future::Future;
use std::pin::Pin;
use std::sync::{Arc, Mutex};

use bitcoin::secp256k1::PublicKey;
use bitcoin::{OutPoint, ScriptBuf};
use bitcoin_payment_instructions::amount::Amount as BPIAmount;
use bitcoin_payment_instructions::dns_resolver::DNSHrnResolver;
use bitcoin_payment_instructions::hrn_resolution::{
HrnResolutionFuture, HrnResolver, HumanReadableName, LNURLResolutionFuture,
};
use bitcoin_payment_instructions::onion_message_resolver::LDKOnionMessageDNSSECHrnResolver;

use bitcoin::secp256k1::PublicKey;
use bitcoin::{OutPoint, ScriptBuf};

use lightning::chain::chainmonitor;
use lightning::impl_writeable_tlv_based;
use lightning::ln::channel_state::{ChannelDetails as LdkChannelDetails, ChannelShutdownState};
Expand Down