mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-11 17:14:22 +01:00
libwally: update to release_0.8.3
Remove hacks to get around empty PSBT deserialization bug
This commit is contained in:
@@ -689,10 +689,6 @@ struct wally_psbt *psbt_from_b64(const tal_t *ctx,
|
||||
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;
|
||||
}
|
||||
|
||||
@@ -744,10 +740,6 @@ struct wally_psbt *psbt_from_bytes(const tal_t *ctx, const u8 *bytes,
|
||||
psbt = NULL;
|
||||
tal_wally_end(tal_steal(ctx, psbt));
|
||||
|
||||
/* FIXME: Patch for the empty-tx bug in libwally */
|
||||
if (!psbt && byte_len == 19)
|
||||
psbt = create_psbt(ctx, 0, 0, 0);
|
||||
|
||||
return psbt;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user