From f43eb7979ef2b4797c282b0322e7f91faf871b8f Mon Sep 17 00:00:00 2001 From: PatrickAlphac <54278053+PatrickAlphaC@users.noreply.github.com> Date: Tue, 22 Mar 2022 07:08:09 -0400 Subject: [PATCH] updated for comma delimited requests --- contracts/APIConsumer.sol | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contracts/APIConsumer.sol b/contracts/APIConsumer.sol index 15675d6df..2913c04c1 100644 --- a/contracts/APIConsumer.sol +++ b/contracts/APIConsumer.sol @@ -72,7 +72,8 @@ contract APIConsumer is ChainlinkClient { // } // } // } - request.add("path", "RAW.ETH.USD.VOLUME24HOUR"); + // request.add("path", "RAW.ETH.USD.VOLUME24HOUR"); // Chainlink nodes prior to 1.0.0 support this format + request.add("path", "RAW,ETH,USD,VOLUME24HOUR"); // Chainlink nodes 1.0.0 and later support this format // Multiply the result by 1000000000000000000 to remove decimals int256 timesAmount = 10**18;