Skip to content

Commit 0010098

Browse files
committed
feat: updated refreshPooledStakingVaultDailyApys days arg default value to 365
1 parent 94c36a9 commit 0010098

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/earn-controller/src/EarnController.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -383,12 +383,12 @@ export class EarnController extends BaseController<
383383
* Refreshes pooled staking vault daily apys for the current chain.
384384
* Updates the pooled staking vault daily apys controller state.
385385
*
386-
* @param days - The number of days to fetch pooled staking vault daily apys for (defaults to 30).
386+
* @param days - The number of days to fetch pooled staking vault daily apys for (defaults to 365).
387387
* @param order - The order in which to fetch pooled staking vault daily apys. Descending order fetches the latest N days (latest working backwards). Ascending order fetches the oldest N days (oldest working forwards) (defaults to 'desc').
388388
* @returns A promise that resolves when the pooled staking vault daily apys have been updated.
389389
*/
390390
async refreshPooledStakingVaultDailyApys(
391-
days = 30,
391+
days = 365,
392392
order: 'asc' | 'desc' = 'desc',
393393
): Promise<void> {
394394
const chainId = this.#getCurrentChainId();

0 commit comments

Comments
 (0)