Skip to content

Commit 26b5fd3

Browse files
committed
Clarify returned var is called feePerCost
1 parent 739cd6d commit 26b5fd3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/api/src/services/WalletService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ export default class Wallet extends Service {
203203
}
204204

205205
async getFeeEstimate() {
206-
return this.command<{ feeEstimate: number }>('get_fee_estimate');
206+
return this.command<{ feePerCost: number }>('get_fee_estimate');
207207
}
208208

209209
async getSyncStatus() {

packages/gui/src/constants/WalletConnectCommands.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ const walletConnectCommands: WalletConnectCommand[] = [
314314
{
315315
command: 'getFeeEstimate',
316316
label: <Trans>Get Fee Estimate</Trans>,
317-
description: <Trans>Requests an estimate of the transaction fee</Trans>,
317+
description: <Trans>Requests an estimate of the current fee per Cost</Trans>,
318318
service: ServiceName.WALLET,
319319
serviceCommand: 'getWalletFeeEstimate',
320320
bypassConfirm: true,

0 commit comments

Comments
 (0)