mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
libwally: update to release_0.8.3
Remove hacks to get around empty PSBT deserialization bug
This commit is contained in:
parent
03cfe0b468
commit
3c4c8d4fa0
@ -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
@ -1 +1 @@
|
||||
Subproject commit bf81e8b17069020dec0638e352298770aa382952
|
||||
Subproject commit 46a3db9b7bce9179430d81ee10bcd25ace5616e4
|
Loading…
Reference in New Issue
Block a user