Skip to content

Commit

Permalink
fix: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiorigam committed Oct 30, 2023
1 parent be786d4 commit 69d77b4
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions packages/network/src/driver/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ const WINDOW_LEN = 12;
*/
type Slot = ThorStatus['head'] & {
block?: Block; // Holds a reference to a blockchain block if available.
accounts: Map<string, Account>; // Maps account addresses to Account objects.
txs: Map<string, Transaction>; // Maps transaction IDs to Transaction objects.
receipts: Map<string, TransactionReceipt>; // Maps transaction IDs to Transaction Receipt objects.
tied: Map<string, never>; // An empty map for a specific purpose.
};

/**
Expand Down Expand Up @@ -123,14 +119,4 @@ class Cache {
}
}

/**
* Represents an Account with Thor account data and an initialization timestamp.
*/
class Account {
constructor(
readonly obj: Account,
readonly initTimestamp: number
) {}
}

export { Cache };

0 comments on commit 69d77b4

Please sign in to comment.