mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
This is a wrapper around shachain_get_hash, which converts the commit_num to an index and returns a 'struct secret' rather than a 'struct sha256' (which is really an internal detail). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>