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;
}
private constructor(ptr: number, obj: bindings.LDKEvent.SpendableOutputs) {
super(null, ptr);
const outputs: number[] = obj.outputs;
- SpendableOutputDescriptor[] arr_conv_27_arr = new SpendableOutputDescriptor[outputs.length];
+ SpendableOutputDescriptor[] outputs_conv_27_arr = new SpendableOutputDescriptor[outputs.length];
for (int b = 0; b < outputs.length; b++) {
- number arr_conv_27 = outputs[b];
- SpendableOutputDescriptor arr_conv_27_hu_conv = SpendableOutputDescriptor.constr_from_ptr(arr_conv_27);
- arr_conv_27_hu_conv.ptrs_to.add(this);
- arr_conv_27_arr[b] = arr_conv_27_hu_conv;
+ number outputs_conv_27 = outputs[b];
+ SpendableOutputDescriptor outputs_conv_27_hu_conv = SpendableOutputDescriptor.constr_from_ptr(outputs_conv_27);
+ outputs_conv_27_hu_conv.ptrs_to.add(this);
+ outputs_conv_27_arr[b] = outputs_conv_27_hu_conv;
}
- this.outputs = arr_conv_27_arr;
+ this.outputs = outputs_conv_27_arr;
}
}