json nit: use const for json_add_psbt

This commit is contained in:
niftynei
2020-10-08 15:41:52 -05:00
committed by Rusty Russell
parent 3674de9865
commit b6a7b52a3e
2 changed files with 2 additions and 2 deletions

View File

@@ -270,7 +270,7 @@ void json_add_tx(struct json_stream *result,
void json_add_psbt(struct json_stream *stream,
const char *fieldname,
struct wally_psbt *psbt)
const struct wally_psbt *psbt)
{
const char *psbt_b64;
psbt_b64 = psbt_to_b64(NULL, psbt);