mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04: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;
|
||||
}
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@ static void wally_free(void *ptr)
|
||||
}
|
||||
|
||||
static struct wally_operations wally_tal_ops = {
|
||||
.struct_size = sizeof(struct wally_operations),
|
||||
.malloc_fn = wally_tal,
|
||||
.free_fn = wally_free,
|
||||
};
|
||||
|
||||
2
external/libwally-core
vendored
2
external/libwally-core
vendored
Submodule external/libwally-core updated: bf81e8b170...46a3db9b7b
Reference in New Issue
Block a user