Skip to content

Commit

Permalink
Fix unused eac const
Browse files Browse the repository at this point in the history
  • Loading branch information
kosecki123 committed Sep 25, 2018
1 parent de39258 commit 7e23d31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/Cache/Cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@ export interface ICachedTxDetails {
export default class Cache<T> {
public cache: {} = {};
public logger: any;
private eac: any;

constructor(eac: any, logger: ILogger = new DefaultLogger()) {
constructor(logger: ILogger = new DefaultLogger()) {
this.logger = logger;
this.eac = eac;
}

public set(key: string, value: T) {
Expand Down
2 changes: 1 addition & 1 deletion src/Config/Config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export default class Config implements IConfigParams {
this.logger = params.logger || new DefaultLogger();
this.txPool = new TxPool(this);
this.transactionReceiptAwaiter = new TransactionReceiptAwaiter(this.util);
this.cache = new Cache(this.eac, this.logger);
this.cache = new Cache(this.logger);
this.economicStrategyManager = new EconomicStrategyManager(
this.economicStrategy,
this.util,
Expand Down

0 comments on commit 7e23d31

Please sign in to comment.