- long ret = bindings.OutPoint_new(txid_arg, index_arg);
- if (ret < 1024) { return null; }
- OutPoint ret_hu_conv = new OutPoint(null, ret);
+ long ret = bindings.OutPoint_new(InternalUtils.check_arr_len(txid_arg, 32), index_arg);
+ if (ret >= 0 && ret <= 4096) { return null; }
+ OutPoint ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new OutPoint(null, ret); }