Update auto-generated bindings
[ldk-java] / ts / structs / Event.ts
index 3648f39913f5625e782692ed8f79f71098fbda9e..7e6d6e31cec519e84a1d6fc03cab453440b0ad34 100644 (file)
@@ -13,9 +13,6 @@ export default class Event extends CommonBase {
                if (raw_val instanceof bindings.LDKEvent.FundingGenerationReady) {
                        return new FundingGenerationReady(this.ptr, raw_val);
                }
-               if (raw_val instanceof bindings.LDKEvent.FundingBroadcastSafe) {
-                       return new FundingBroadcastSafe(this.ptr, raw_val);
-               }
                if (raw_val instanceof bindings.LDKEvent.PaymentReceived) {
                        return new PaymentReceived(this.ptr, raw_val);
                }
@@ -48,18 +45,6 @@ export class FundingGenerationReady extends Event {
                this.user_channel_id = obj.user_channel_id;
        }
 }
-export class FundingBroadcastSafe extends Event {
-       public funding_txo: OutPoint;
-       public user_channel_id: number;
-       private constructor(ptr: number, obj: bindings.LDKEvent.FundingBroadcastSafe) {
-               super(null, ptr);
-               const funding_txo: number = obj.funding_txo;
-               const funding_txo_hu_conv: OutPoint = new OutPoint(null, funding_txo);
-                       funding_txo_hu_conv.ptrs_to.add(this);
-               this.funding_txo = funding_txo_hu_conv;
-               this.user_channel_id = obj.user_channel_id;
-       }
-}
 export class PaymentReceived extends Event {
        public payment_hash: Uint8Array;
        public payment_secret: Uint8Array;