* Called with the custom message that was received.
*/
public void handle_custom_message(org.ldk.structs.CustomOnionMessageContents msg) {
- bindings.CustomOnionMessageHandler_handle_custom_message(this.ptr, msg == null ? 0 : msg.ptr);
+ bindings.CustomOnionMessageHandler_handle_custom_message(this.ptr, msg.ptr);
Reference.reachabilityFence(this);
Reference.reachabilityFence(msg);
if (this != null) { this.ptrs_to.add(msg); };