- long res = bindings.LDKCResult_ChannelMonitorUpdateDecodeErrorZ_get_ok(ptr);
- ChannelMonitorUpdate res_hu_conv = null; if (res < 0 || res > 4096) { res_hu_conv = new ChannelMonitorUpdate(null, res); }
- res_hu_conv.ptrs_to.add(this);
+ long res = bindings.CResult_ChannelMonitorUpdateDecodeErrorZ_get_ok(ptr);
+ org.ldk.structs.ChannelMonitorUpdate res_hu_conv = null; if (res < 0 || res > 4096) { res_hu_conv = new org.ldk.structs.ChannelMonitorUpdate(null, res); }
+ if (res_hu_conv != null) { res_hu_conv.ptrs_to.add(this); };