commit 0058c6fd047cbd74c3b7193769834ef7b297ece6
parent 31c81835f97ea557b78875707a3cebe065b55f90
Author: William Casarin <jb55@jb55.com>
Date: Sat, 25 May 2019 07:17:48 -0700
fix output descriptor keypath
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clightning-dumpkeys.c b/clightning-dumpkeys.c
@@ -225,7 +225,7 @@ static void dump_bip32(struct ext_key *key, const char *name) {
printf("%s\t%s public\n", out, name);
- snprintf(cbuf, sizeof(cbuf), "combo(%s/0/*)", out);
+ snprintf(cbuf, sizeof(cbuf), "combo(%s/*)", out);
descriptor_checksum(cbuf, strlen(cbuf), cbuf2, sizeof(cbuf2));
printf("%s#%s descriptor\n", cbuf, cbuf2);