mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-21 16:14:23 +01:00
bitcoin/signature: fix compilation with #define DEBUG
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -55,8 +55,8 @@ static void dump_tx(const char *msg,
|
||||
fprintf(stderr, "%02x", script[i]);
|
||||
if (key) {
|
||||
fprintf(stderr, "\nPubkey: ");
|
||||
for (i = 0; i < pubkey_len(key); i++)
|
||||
fprintf(stderr, "%02x", key->key[i]);
|
||||
for (i = 0; i < sizeof(key->der); i++)
|
||||
fprintf(stderr, "%02x", key->der[i]);
|
||||
fprintf(stderr, "\n");
|
||||
}
|
||||
if (h) {
|
||||
|
||||
Reference in New Issue
Block a user