diff --git a/.changeset/spotty-months-grin.md b/.changeset/spotty-months-grin.md new file mode 100644 index 0000000000..1b468c0f8d --- /dev/null +++ b/.changeset/spotty-months-grin.md @@ -0,0 +1,5 @@ +--- +'@penumbra-zone/services': minor +--- + +Fix gas prices RPC diff --git a/packages/services/src/view-service/gas-prices.ts b/packages/services/src/view-service/gas-prices.ts index 44bbb15be5..9dc9f36f0b 100644 --- a/packages/services/src/view-service/gas-prices.ts +++ b/packages/services/src/view-service/gas-prices.ts @@ -24,13 +24,13 @@ export const gasPrices: Impl['gasPrices'] = async (_, ctx) => { const services = await ctx.values.get(servicesCtx)(); const { indexedDb } = await services.getWalletServices(); const gasPrices = await indexedDb.getNativeGasPrices(); - const altGasPRices = await indexedDb.getAltGasPrices(); + const altGasPrices = await indexedDb.getAltGasPrices(); if (!gasPrices) { throw new ConnectError('Gas prices is not available', Code.NotFound); } return { gasPrices, - altGasPRices, + altGasPrices, }; };