diff --git a/package.json b/package.json index 9f9f58d..0af7011 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fuseio/earn-sdk", - "version": "1.0.0", + "version": "1.0.1", "description": "", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/rewards/ChefRewardProgram.ts b/src/rewards/ChefRewardProgram.ts index 7f44aa7..82ae9c6 100644 --- a/src/rewards/ChefRewardProgram.ts +++ b/src/rewards/ChefRewardProgram.ts @@ -78,7 +78,8 @@ export default class ChefRewardProgram extends RewardProgram { let reserves, tokens, pairPrice if (pairAddress.toLowerCase() === xVOLT.toLowerCase()) { - tokens = [await fetchTokenInfo(xVOLT, this.web3), null] + const token0 = await fetchTokenInfo(xVOLT, this.web3) + tokens = [{ id: xVOLT, ...token0 }, null] reserves = [globalTotalStake, null]