From 5a101dbea1edd86918b11f548d1999d077d95fa8 Mon Sep 17 00:00:00 2001 From: Rahul Patni Date: Fri, 29 Mar 2024 14:51:59 -0700 Subject: [PATCH] removing spendPostTimeAt --- ironfish-cli/src/utils/spendPostTime.ts | 1 - ironfish/src/fileStores/internal.ts | 2 -- 2 files changed, 3 deletions(-) diff --git a/ironfish-cli/src/utils/spendPostTime.ts b/ironfish-cli/src/utils/spendPostTime.ts index f766c29b66..dd853a5d7e 100644 --- a/ironfish-cli/src/utils/spendPostTime.ts +++ b/ironfish-cli/src/utils/spendPostTime.ts @@ -36,7 +36,6 @@ export async function updateSpendPostTimeInMs( } sdk.internal.set('spendPostTime', newSpendPostTime) - sdk.internal.set('spendPostTimeAt', Date.now()) sdk.internal.set('spendPostTimeMeasurements', newCount) await sdk.internal.save() } diff --git a/ironfish/src/fileStores/internal.ts b/ironfish/src/fileStores/internal.ts index 0b2a62f030..657efa52ae 100644 --- a/ironfish/src/fileStores/internal.ts +++ b/ironfish/src/fileStores/internal.ts @@ -13,7 +13,6 @@ export type InternalOptions = { networkId: number spendPostTime: number // in milliseconds spendPostTimeMeasurements: number // used to calculate the average spendPostTime - spendPostTimeAt: number // when the spend post time measurement was done } export const InternalOptionsDefaults: InternalOptions = { @@ -24,7 +23,6 @@ export const InternalOptionsDefaults: InternalOptions = { networkId: DEFAULT_NETWORK_ID, spendPostTime: 0, spendPostTimeMeasurements: 0, - spendPostTimeAt: 0, } export class InternalStore extends KeyStore {