X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FEvent.ts;h=c8374a2b73f273a2afecb9008d24d96acbe6353f;hb=5159db8afc915c6934556af6e59df21bc31c57b2;hp=db05d8ae2fe3dd3f57a1937900f9e11658f3d10b;hpb=7d6be8a5ef72a4ebfe07660cce55f43f6cc30b80;p=ldk-java diff --git a/ts/structs/Event.ts b/ts/structs/Event.ts index db05d8ae..c8374a2b 100644 --- a/ts/structs/Event.ts +++ b/ts/structs/Event.ts @@ -176,7 +176,6 @@ export class ChannelClosed extends Event { number ret = bindings.Event_payment_path_failed(payment_hash, rejected_by_dest, network_update.ptr, all_paths_failed, path != null ? Arrays.stream(path).map(path_conv_10 -> path_conv_10 == null ? 0 : path_conv_10.ptr & ~1).toArray(number[]::new) : null); Event ret_hu_conv = Event.constr_from_ptr(ret); ret_hu_conv.ptrs_to.add(ret_hu_conv); - for (RouteHop path_conv_10: path) { ret_hu_conv.ptrs_to.add(path_conv_10); }; return ret_hu_conv; }