Skip to content

Commit

Permalink
Renumber hsmd_derive_secret for consistency with other hsmd messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ksedgwic authored and niftynei committed Aug 16, 2022
1 parent 65549a2 commit 82f7035
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions hsmd/hsmd_wire.csv
Original file line number Diff line number Diff line change
Expand Up @@ -282,10 +282,11 @@ msgdata,hsmd_sign_option_will_fund_offer,channel_fee_proportional_basis_max,u16,
msgtype,hsmd_sign_option_will_fund_offer_reply,126
msgdata,hsmd_sign_option_will_fund_offer_reply,rsig,secp256k1_ecdsa_signature,

# Reply with the derived secret
msgtype,hsmd_derive_secret_reply,27
msgdata,hsmd_derive_secret_reply,secret,secret,

msgtype,hsmd_derive_secret,127
# Derive pseudorandom secret
msgtype,hsmd_derive_secret,27
msgdata,hsmd_derive_secret,len,u16,
msgdata,hsmd_derive_secret,info,u8,len

# Reply with the derived secret
msgtype,hsmd_derive_secret_reply,127
msgdata,hsmd_derive_secret_reply,secret,secret,

0 comments on commit 82f7035

Please sign in to comment.