Skip to content

Commit

Permalink
Make InMemorySigner::channel_value_satoshis pub
Browse files Browse the repository at this point in the history
allows on-the-fly cloning of keys for RBF candidates without re-deriving the pubkeys
  • Loading branch information
devrandom committed Oct 1, 2023
1 parent 20f287f commit 0adf4ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightning/src/sign/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ pub struct InMemorySigner {
/// Counterparty public keys and counterparty/holder `selected_contest_delay`, populated on channel acceptance.
channel_parameters: Option<ChannelTransactionParameters>,
/// The total value of this channel.
channel_value_satoshis: u64,
pub channel_value_satoshis: u64,
/// Key derivation parameters.
channel_keys_id: [u8; 32],
/// Seed from which all randomness produced is derived from.
Expand Down

0 comments on commit 0adf4ca

Please sign in to comment.