libwally: update to release_0.8.3

Remove hacks to get around empty PSBT deserialization bug
This commit is contained in:
niftynei
2021-06-01 12:14:48 -05:00
committed by Rusty Russell
parent 03cfe0b468
commit 3c4c8d4fa0
3 changed files with 2 additions and 9 deletions

View File

@@ -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;
}

View File

@@ -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,
};