Skip to content

Commit

Permalink
PmgetTokenQuotes_Return_Type_Fix (#144)
Browse files Browse the repository at this point in the history
* changed return type of ethUSDPrice

* updated version
  • Loading branch information
vignesha22 authored Oct 3, 2024
1 parent eed38aa commit 1ad7625
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion backend/src/paymaster/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 1ad7625

Please sign in to comment.