hsmd: HSM_VERSION 6: get_per_commitment_point never returns secret
Changelog-Changed: hsmd: HSM_VERSION 6: get_per_commitment_point does not imply index - 2 is revoked, makes it safe to call on any index.
This commit is contained in:
@@ -324,10 +324,12 @@ msgdata,hsmd_sign_splice_tx,input_index,u32,
|
||||
msgtype,hsmd_sign_tx_reply,112
|
||||
msgdata,hsmd_sign_tx_reply,sig,bitcoin_signature,
|
||||
|
||||
# Openingd/channeld/onchaind asks for Nth per_commitment_point, if > 2, gets N-2 secret.
|
||||
# Openingd/channeld/onchaind asks for Nth per_commitment_point
|
||||
# Prior to HSM_VERSION 6 we will return an old_commitment_secret
|
||||
msgtype,hsmd_get_per_commitment_point,18
|
||||
msgdata,hsmd_get_per_commitment_point,n,u64,
|
||||
|
||||
# IMPORTANT - Beginning HSM_VERSION 6 we never return an old_commitment_secret
|
||||
msgtype,hsmd_get_per_commitment_point_reply,118
|
||||
msgdata,hsmd_get_per_commitment_point_reply,per_commitment_point,pubkey,
|
||||
msgdata,hsmd_get_per_commitment_point_reply,old_commitment_secret,?secret,
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 169 and column 43.
|
Reference in New Issue
Block a user