- long ret = bindings.GossipTimestampFilter_new(chain_hash_arg, first_timestamp_arg, timestamp_range_arg);
+ long ret = bindings.GossipTimestampFilter_new(InternalUtils.check_arr_len(chain_hash_arg, 32), first_timestamp_arg, timestamp_range_arg);
+ Reference.reachabilityFence(chain_hash_arg);
+ Reference.reachabilityFence(first_timestamp_arg);
+ Reference.reachabilityFence(timestamp_range_arg);