- /**
- * Indicates a [`ChannelMonitor`] update has failed. See
- * [`ChannelMonitorUpdateStatus::PermanentFailure`] for more information on how this is used.
- *
- * [`ChannelMonitorUpdateStatus::PermanentFailure`]: super::ChannelMonitorUpdateStatus::PermanentFailure
- */
- public final static class UpdateFailed extends MonitorEvent {
- public final org.ldk.structs.OutPoint update_failed;
- private UpdateFailed(long ptr, bindings.LDKMonitorEvent.UpdateFailed obj) {
- super(null, ptr);
- long update_failed = obj.update_failed;
- org.ldk.structs.OutPoint update_failed_hu_conv = null; if (update_failed < 0 || update_failed > 4096) { update_failed_hu_conv = new org.ldk.structs.OutPoint(null, update_failed); }
- if (update_failed_hu_conv != null) { update_failed_hu_conv.ptrs_to.add(this); };
- this.update_failed = update_failed_hu_conv;
- }
- }