@@ -25,8 +25,9 @@ use bitcoin::secp256k1::{PublicKey,SecretKey};
25
25
use bitcoin::secp256k1::{Secp256k1,ecdsa::Signature};
26
26
use bitcoin::secp256k1;
27
27
28
- use crate::ln::types::{ChannelId, PaymentPreimage, PaymentHash};
29
- use crate::ln::features::{ChannelTypeFeatures, InitFeatures};
28
+ use crate::ln::types::ChannelId;
29
+ use crate::types::payment::{PaymentPreimage, PaymentHash};
30
+ use crate::types::features::{ChannelTypeFeatures, InitFeatures};
30
31
use crate::ln::msgs;
31
32
use crate::ln::msgs::{ClosingSigned, ClosingSignedFeeRange, DecodeError};
32
33
use crate::ln::script::{self, ShutdownScript};
@@ -9605,13 +9606,13 @@ mod tests {
9605
9606
use bitcoin::opcodes;
9606
9607
use bitcoin::network::Network;
9607
9608
use crate::ln::onion_utils::INVALID_ONION_BLINDING;
9608
- use crate::ln::types ::{PaymentHash, PaymentPreimage};
9609
+ use crate::types::payment ::{PaymentHash, PaymentPreimage};
9609
9610
use crate::ln::channel_keys::{RevocationKey, RevocationBasepoint};
9610
9611
use crate::ln::channelmanager::{self, HTLCSource, PaymentId};
9611
9612
use crate::ln::channel::InitFeatures;
9612
9613
use crate::ln::channel::{AwaitingChannelReadyFlags, Channel, ChannelState, InboundHTLCOutput, OutboundV1Channel, InboundV1Channel, OutboundHTLCOutput, InboundHTLCState, OutboundHTLCState, HTLCCandidate, HTLCInitiator, HTLCUpdateAwaitingACK, commit_tx_fee_sat};
9613
9614
use crate::ln::channel::{MAX_FUNDING_SATOSHIS_NO_WUMBO, TOTAL_BITCOIN_SUPPLY_SATOSHIS, MIN_THEIR_CHAN_RESERVE_SATOSHIS};
9614
- use crate::ln ::features::{ChannelFeatures, ChannelTypeFeatures, NodeFeatures};
9615
+ use crate::types ::features::{ChannelFeatures, ChannelTypeFeatures, NodeFeatures};
9615
9616
use crate::ln::msgs;
9616
9617
use crate::ln::msgs::{ChannelUpdate, DecodeError, UnsignedChannelUpdate, MAX_VALUE_MSAT};
9617
9618
use crate::ln::script::ShutdownScript;
@@ -10293,7 +10294,7 @@ mod tests {
10293
10294
use bitcoin::hex::DisplayHex;
10294
10295
use bitcoin::secp256k1::Message;
10295
10296
use crate::sign::{ChannelDerivationParameters, HTLCDescriptor, ecdsa::EcdsaChannelSigner};
10296
- use crate::ln ::PaymentPreimage;
10297
+ use crate::types::payment ::PaymentPreimage;
10297
10298
use crate::ln::channel::{HTLCOutputInCommitment ,TxCreationKeys};
10298
10299
use crate::ln::channel_keys::{DelayedPaymentBasepoint, HtlcBasepoint};
10299
10300
use crate::ln::chan_utils::{ChannelPublicKeys, HolderCommitmentTransaction, CounterpartyChannelTransactionParameters};
0 commit comments