diff --git a/backend/package.json b/backend/package.json index f227921..f0c38ed 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "arka", - "version": "1.6.3", + "version": "1.6.4", "description": "ARKA - (Albanian for Cashier's case) is the first open source Paymaster as a service software", "type": "module", "directories": { diff --git a/backend/src/paymaster/index.ts b/backend/src/paymaster/index.ts index e918e68..d0ae866 100644 --- a/backend/src/paymaster/index.ts +++ b/backend/src/paymaster/index.ts @@ -247,7 +247,7 @@ export class Paymaster { const ETHprice = await nativeOracleContract.latestRoundData(); ETHUSDPrice = ETHprice.answer; ETHUSDPriceDecimal = await nativeOracleContract.decimals(); - result.etherUSDExchangeRate = ETHprice.answer; + result.etherUSDExchangeRate = BigNumber.from(ETHprice.answer).toHexString(); } for (let i = 0; i < tokens_list.length; i++) { const gasToken = tokens_list[i];