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
Remove all remaining references to *Features::known
As we move towards specify supported/required feature bits in the
module(s) where they are supported, the global `known` feature set
constructors no longer make sense.
In anticipation of removing the `known` constructor, this commit
removes all remaining references to it outside of features.rs.
Copy file name to clipboardExpand all lines: lightning/src/chain/channelmonitor.rs
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -3752,8 +3752,7 @@ mod tests {
3752
3752
use ln::{PaymentPreimage,PaymentHash};
3753
3753
use ln::chan_utils;
3754
3754
use ln::chan_utils::{HTLCOutputInCommitment,ChannelPublicKeys,ChannelTransactionParameters,HolderCommitmentTransaction,CounterpartyChannelTransactionParameters};
3755
-
use ln::channelmanager::PaymentSendFailure;
3756
-
use ln::features::InitFeatures;
3755
+
use ln::channelmanager::{self,PaymentSendFailure};
3757
3756
use ln::functional_test_utils::*;
3758
3757
use ln::script::ShutdownScript;
3759
3758
use util::errors::APIError;
@@ -3782,9 +3781,9 @@ mod tests {
3782
3781
let node_chanmgrs = create_node_chanmgrs(3,&node_cfgs,&[None,None,None]);
3783
3782
let nodes = create_network(3,&node_cfgs,&node_chanmgrs);
3784
3783
let channel = create_announced_chan_between_nodes(
0 commit comments