clightning-dumpkeys

dump clightning output descriptors
git clone git://jb55.com/clightning-dumpkeys
Log | Files | Refs | README | LICENSE

commit 0e662d33b3448818131ee4693fae1d6f70397e1a
parent 8de9a6b8a1f91642c2fc6f6ec31c152f6a0daf09
Author: William Casarin <jb55@jb55.com>
Date:   Fri, 24 May 2019 13:57:33 -0700

derp

Diffstat:
Mbip32.c | 2+-
Mbip32.h | 2--
Mcheck.c | 3---
Mclightning-dumpkeys.c | 1-
4 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/bip32.c b/bip32.c @@ -24,7 +24,7 @@ static const unsigned char SEED[] = { /* LCOV_EXCL_START */ /* Check assumptions we expect to hold true */ -void assert_bip32_assumptions(void) +UNUSED static void assert_bip32_assumptions(void) { #define key_off(member) offsetof(struct ext_key, member) #define key_size(member) sizeof(((struct ext_key *)0)->member) diff --git a/bip32.h b/bip32.h @@ -247,6 +247,4 @@ int bip32_key_from_base58_alloc( const secp256k1_context *ctx, const char *base58, struct ext_key **output); -void assert_bip32_assumptions(void); - #endif /* LIBWALLY_CORE_BIP32_H */ diff --git a/check.c b/check.c @@ -4,8 +4,5 @@ int main() { - printf("asserting bip32 assumptions\n"); - assert_bip32_assumptions(); - printf("ok!\n"); return 0; } diff --git a/clightning-dumpkeys.c b/clightning-dumpkeys.c @@ -210,7 +210,6 @@ int main(int argc, char *argv[]) const char *secretfile = argv[1]; - assert_bip32_assumptions(); dump_xpriv(secretfile); return 0;