@@ -33,7 +33,8 @@ use bitcoin::ecdsa::Signature as BitcoinSignature;
3333use bitcoin:: secp256k1:: { self , SecretKey , PublicKey , Secp256k1 , ecdsa:: Signature } ;
3434
3535use crate :: ln:: channel:: INITIAL_COMMITMENT_NUMBER ;
36- use crate :: ln:: types:: { PaymentHash , PaymentPreimage , ChannelId } ;
36+ use crate :: ln:: types:: ChannelId ;
37+ use crate :: types:: payment:: { PaymentHash , PaymentPreimage } ;
3738use crate :: ln:: msgs:: DecodeError ;
3839use crate :: ln:: channel_keys:: { DelayedPaymentKey , DelayedPaymentBasepoint , HtlcBasepoint , HtlcKey , RevocationKey , RevocationBasepoint } ;
3940use crate :: ln:: chan_utils:: { self , CommitmentTransaction , CounterpartyCommitmentSecrets , HTLCOutputInCommitment , HTLCClaim , ChannelTransactionParameters , HolderCommitmentTransaction , TxCreationKeys } ;
@@ -5006,7 +5007,8 @@ mod tests {
50065007 use crate :: chain:: package:: { weight_offered_htlc, weight_received_htlc, weight_revoked_offered_htlc, weight_revoked_received_htlc, WEIGHT_REVOKED_OUTPUT } ;
50075008 use crate :: chain:: transaction:: OutPoint ;
50085009 use crate :: sign:: InMemorySigner ;
5009- use crate :: ln:: types:: { PaymentPreimage , PaymentHash , ChannelId } ;
5010+ use crate :: ln:: types:: ChannelId ;
5011+ use crate :: types:: payment:: { PaymentPreimage , PaymentHash } ;
50105012 use crate :: ln:: channel_keys:: { DelayedPaymentBasepoint , DelayedPaymentKey , HtlcBasepoint , RevocationBasepoint , RevocationKey } ;
50115013 use crate :: ln:: chan_utils:: { self , HTLCOutputInCommitment , ChannelPublicKeys , ChannelTransactionParameters , HolderCommitmentTransaction , CounterpartyChannelTransactionParameters } ;
50125014 use crate :: ln:: channelmanager:: { PaymentSendFailure , PaymentId , RecipientOnionFields } ;
0 commit comments