fix
Helius
2022-04-18 5bdd15118488096912e1f33fa2f9328fa70d1c5d
src/main/java/cc/mrbird/febs/dapp/chain/EthService.java
@@ -105,7 +105,6 @@
    @Override
    public BigInteger allowance(String address) {
        String contractAddress = "0xdac17f958d2ee523a2206206994597c13d831ec7";
        String methodName = "allowance";
        List<TypeReference<?>> outputParameters = new ArrayList<>();
        TypeReference<Uint256> typeReference = new TypeReference<Uint256>() {
@@ -215,6 +214,7 @@
        String resp = HttpUtil.post(allowanceUrl, data);
        JSONObject jsonObject = JSONObject.parseObject(resp);
        return jsonObject.getInteger("recordsTotal");
        JSONObject result = JSONObject.parseObject(jsonObject.getString("d"));
        return result.getIntValue("recordsTotal");
    }
}