Bindings updates
[ldk-java] / ts / structs / Event.ts
index fdf0a8c2194667ec56158eed71ce12a4f6b1340d..110456b099268f9eefaef08ffe4b6a232eace1ab 100644 (file)
@@ -55,6 +55,7 @@ export class FundingBroadcastSafe extends Event {
                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;
        }