Skip to content

Commit

Permalink
df: use simplified version to print json
Browse files Browse the repository at this point in the history
  • Loading branch information
niftynei committed Feb 24, 2021
1 parent 10fce07 commit 367e377
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lightningd/dual_open_control.c
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,8 @@ openchannel2_hook_deserialize(struct openchannel2_payload *payload,
} else if (!json_tok_streq(buffer, t_result, "continue"))
fatal("Plugin returned an invalid response to the"
" openchannel2 hook: %.*s",
toks[0].end - toks[0].start, buffer + toks[0].start);
json_tok_full_len(toks),
json_tok_full(buffer, toks));

if (!hook_extract_psbt(payload, dualopend, buffer, toks,
"openchannel2", true, &payload->psbt))
Expand Down

0 comments on commit 367e377

Please sign in to comment.