mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-06 07:34:21 +01:00
per-commit-secret is a struct secret, not a sha256.
Well, it's generated by shachain, so technically it is a sha256, but that's an internal detail. It's a secret. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
6c98457ef2
commit
e217bc1220
@@ -179,5 +179,6 @@ PRINTWIRE_STRUCT_TYPE_TO_STRING(channel_id);
|
||||
PRINTWIRE_STRUCT_TYPE_TO_STRING(preimage);
|
||||
PRINTWIRE_STRUCT_TYPE_TO_STRING(pubkey);
|
||||
PRINTWIRE_STRUCT_TYPE_TO_STRING(sha256);
|
||||
PRINTWIRE_STRUCT_TYPE_TO_STRING(secret);
|
||||
PRINTWIRE_STRUCT_TYPE_TO_STRING(short_channel_id);
|
||||
PRINTWIRE_TYPE_TO_STRING(secp256k1_ecdsa_signature, secp256k1_ecdsa_signature);
|
||||
|
||||
@@ -18,6 +18,7 @@ void printwire_preimage(const char *fieldname, const struct preimage *preimage);
|
||||
void printwire_pubkey(const char *fieldname, const struct pubkey *pubkey);
|
||||
void printwire_secp256k1_ecdsa_signature(const char *fieldname, const secp256k1_ecdsa_signature *);
|
||||
void printwire_sha256(const char *fieldname, const struct sha256 *sha256);
|
||||
void printwire_secret(const char *fieldname, const struct secret *secret);
|
||||
void printwire_short_channel_id(const char *fieldname, const struct short_channel_id *short_channel_id);
|
||||
|
||||
#endif /* LIGHTNING_DEVTOOLS_PRINT_WIRE_H */
|
||||
|
||||
Reference in New Issue
Block a user