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
let keys_provider = test_utils::TestKeysInterface::new(&seed, network);
7740
+
let logger = test_utils::TestLogger::new();
7741
+
7742
+
let node_b_node_id = PublicKey::from_secret_key(&secp_ctx,&SecretKey::from_slice(&[42;32]).unwrap());
7743
+
let config = UserConfig::default();
7744
+
let node_a_chan = Channel::<EnforcingSigner>::new_outbound(&&feeest,&&keys_provider, node_b_node_id,&InitFeatures::known(),10000000,100000,42,&config,0,42).unwrap();
let node_b_node_id = PublicKey::from_secret_key(&secp_ctx,&SecretKey::from_slice(&[7;32]).unwrap());
7752
+
let res = Channel::<EnforcingSigner>::new_from_req(&&feeest,&&keys_provider, node_b_node_id,&InitFeatures::known(),&open_channel_msg,7,&config,0,&&logger,42);
returnErr(APIError::APIMisuseError{err:"This channel requires 0conf. Please use accept_inbound_channel_from_trusted_peer_0conf to accept.".to_owned()});
0 commit comments