Skip to content

Commit

Permalink
fix the redpacket support for sepolia
Browse files Browse the repository at this point in the history
  • Loading branch information
liberhe committed Dec 21, 2023
1 parent 35a5f56 commit c2296ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public void updateRedpacketStatus() throws IOException {
HttpEntity entity = getHttpEntityFromChain(chainId);
if (entity != null) {
String jsonResponse = EntityUtils.toString(entity);
log.info("response from the graph: chainId " + chainId + jsonResponse.substring(0, 30));
log.info("response from the graph: chainId " + chainId + jsonResponse.substring(0, 20));
JsonObject jsonObject = JsonParser.parseString(jsonResponse).getAsJsonObject();
JsonObject data = jsonObject.getAsJsonObject("data");
JsonArray redpacketsArray = data.getAsJsonArray("redpackets");
Expand Down

0 comments on commit c2296ef

Please sign in to comment.