Skip to content

Commit 1ad7625

Browse files
authored
PmgetTokenQuotes_Return_Type_Fix (#144)
* changed return type of ethUSDPrice * updated version
1 parent eed38aa commit 1ad7625

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "arka",
3-
"version": "1.6.3",
3+
"version": "1.6.4",
44
"description": "ARKA - (Albanian for Cashier's case) is the first open source Paymaster as a service software",
55
"type": "module",
66
"directories": {

backend/src/paymaster/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ export class Paymaster {
247247
const ETHprice = await nativeOracleContract.latestRoundData();
248248
ETHUSDPrice = ETHprice.answer;
249249
ETHUSDPriceDecimal = await nativeOracleContract.decimals();
250-
result.etherUSDExchangeRate = ETHprice.answer;
250+
result.etherUSDExchangeRate = BigNumber.from(ETHprice.answer).toHexString();
251251
}
252252
for (let i = 0; i < tokens_list.length; i++) {
253253
const gasToken = tokens_list[i];

0 commit comments

Comments
 (0)