diff --git a/bitcoin/psbt.c b/bitcoin/psbt.c index 249f1acda..c3f294e39 100644 --- a/bitcoin/psbt.c +++ b/bitcoin/psbt.c @@ -688,6 +688,11 @@ struct wally_psbt *psbt_from_b64(const tal_t *ctx, else psbt = NULL; tal_wally_end(tal_steal(ctx, psbt)); + + /* FIXME: Patch for the empty-tx bug in libwally */ + if (!psbt && strlen(str) == 28) + psbt = create_psbt(ctx, 0, 0, 0); + return psbt; }