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 mut chan = OutboundV1Channel::<InMemorySigner>::new(&LowerBoundedFeeEstimator::new(&feeest), &&keys_provider, &&keys_provider, counterparty_node_id, &channelmanager::provided_init_features(&config), 10_000_000, 0, 42, &config, 0, 42).unwrap(); // Nothing uses their network key in this test
7993
+
let mut chan = OutboundV1Channel::<&Keys>::new(&LowerBoundedFeeEstimator::new(&feeest), &&keys_provider, &&keys_provider, counterparty_node_id, &channelmanager::provided_init_features(&config), 10_000_000, 0, 42, &config, 0, 42).unwrap(); // Nothing uses their network key in this test
7994
7994
chan.context.holder_dust_limit_satoshis = 546;
7995
7995
chan.context.counterparty_selected_channel_reserve_satoshis = Some(0); // Filled in in accept_channel
7996
7996
@@ -8023,10 +8023,10 @@ mod tests {
8023
8023
// We can't just use build_holder_transaction_keys here as the per_commitment_secret is not
8024
8024
// derived from a commitment_seed, so instead we copy it here and call
8025
8025
// build_commitment_transaction.
8026
-
let delayed_payment_base = &chan.context.holder_signer.pubkeys().delayed_payment_basepoint;
8026
+
let delayed_payment_base = &chan.context.holder_signer.as_ref().pubkeys().delayed_payment_basepoint;
8027
8027
let per_commitment_secret = SecretKey::from_slice(&hex::decode("1f1e1d1c1b1a191817161514131211100f0e0d0c0b0a09080706050403020100").unwrap()[..]).unwrap();
8028
8028
let per_commitment_point = PublicKey::from_secret_key(&secp_ctx, &per_commitment_secret);
8029
-
let htlc_basepoint = &chan.context.holder_signer.pubkeys().htlc_basepoint;
8029
+
let htlc_basepoint = &chan.context.holder_signer.as_ref().pubkeys().htlc_basepoint;
8030
8030
let keys = TxCreationKeys::derive_new(&secp_ctx, &per_commitment_point, delayed_payment_base, htlc_basepoint, &counterparty_pubkeys.revocation_basepoint, &counterparty_pubkeys.htlc_basepoint);
0 commit comments