- long ret = bindings.Access_get_utxo(this.ptr, genesis_hash, short_channel_id);
- if (ret < 1024) { return null; }
+ long ret = bindings.Access_get_utxo(this.ptr, InternalUtils.check_arr_len(genesis_hash, 32), short_channel_id);
+ Reference.reachabilityFence(this);
+ Reference.reachabilityFence(genesis_hash);
+ Reference.reachabilityFence(short_channel_id);
+ if (ret >= 0 && ret <= 4096) { return null; }