You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lightning/src/ln/channel.rs
+32-1Lines changed: 32 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4260,17 +4260,20 @@ mod tests {
4260
4260
use bitcoin::blockdata::script::{Script,Builder};
4261
4261
use bitcoin::blockdata::transaction::Transaction;
4262
4262
use bitcoin::blockdata::opcodes;
4263
+
use bitcoin::network::constants::Network;
4263
4264
use bitcoin_hashes::hex::FromHex;
4264
4265
use hex;
4265
4266
use ln::channelmanager::{HTLCSource,PaymentPreimage,PaymentHash};
4266
-
use ln::channel::{Channel,ChannelKeys,InboundHTLCOutput,OutboundHTLCOutput,InboundHTLCState,OutboundHTLCState,HTLCOutputInCommitment,TxCreationKeys};
4267
+
use ln::channel::{Channel,ChannelKeys,InboundHTLCOutput,OutboundHTLCOutput,InboundHTLCState,OutboundHTLCState,HTLCOutputInCommitment,TxCreationKeys,ChannelState};
4267
4268
use ln::channel::MAX_FUNDING_SATOSHIS;
4269
+
use ln::msgs::{DecodeError,OptionalField,DataLossProtect};
4268
4270
use ln::chan_utils;
4269
4271
use ln::chan_utils::{LocalCommitmentTransaction,ChannelPublicKeys};
4270
4272
use chain::chaininterface::{FeeEstimator,ConfirmationTarget};
4271
4273
use chain::keysinterface::{InMemoryChannelKeys,KeysInterface};
4272
4274
use chain::transaction::OutPoint;
4273
4275
use util::config::UserConfig;
4276
+
use util::enforcing_trait_impls::EnforcingChannelKeys;
0 commit comments