psbt: only compare a subset of psbt input/output fields

At some point, it's ok to add more extra info to a psbt and still not
have that be counted as 'diff'd.
This commit is contained in:
niftynei
2020-09-09 19:40:29 +09:30
committed by Rusty Russell
parent b3cbb0b653
commit 169b7817dc
2 changed files with 16 additions and 4 deletions

View File

@@ -218,7 +218,7 @@ openchannel2_changed_hook_serialize(struct openchannel2_psbt_payload *payload,
json_add_psbt(stream, "psbt", payload->psbt);
json_add_string(stream, "channel_id",
type_to_string(tmpctx, struct channel_id,
&payload->rcvd->channel->cid));
&payload->rcvd->cid));
json_object_end(stream);
}