File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -3459,6 +3459,9 @@ impl<ChanSigner: ChannelKeys> Channel<ChanSigner> {
3459
3459
pub fn get_channel_reestablish ( & self ) -> msgs:: ChannelReestablish {
3460
3460
assert_eq ! ( self . channel_state & ChannelState :: PeerDisconnected as u32 , ChannelState :: PeerDisconnected as u32 ) ;
3461
3461
assert_ne ! ( self . cur_remote_commitment_transaction_number, INITIAL_COMMITMENT_NUMBER ) ;
3462
+ // Prior to static_remotekey, my_current_per_commitment_point was critical to claiming
3463
+ // current to_remote balances. However, it no longer has any use, and thus is now simply
3464
+ // set to a dummy (but valid, as required by the spec) public key.
3462
3465
// fuzztarget mode marks a subset of pubkeys as invalid so that we can hit "invalid pubkey"
3463
3466
// branches, but we unwrap it below, so we arbitrarily select a dummy pubkey which is both
3464
3467
// valid, and valid in fuzztarget mode's arbitrary validity criteria:
You can’t perform that action at this time.
0 commit comments