Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #5304 from LiskHQ/5190-update-forger-module
Browse files Browse the repository at this point in the history
Update application/node/forger to be typescript - Closes #5190
  • Loading branch information
ManuGowda authored May 5, 2020
2 parents b48e401 + 71546ef commit 86e5424
Show file tree
Hide file tree
Showing 13 changed files with 637 additions and 529 deletions.
4 changes: 2 additions & 2 deletions elements/lisk-transaction-pool/src/transaction_pool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,10 +289,10 @@ export class TransactionPool {
}

public getProcessableTransactions(): {
readonly [address: string]: ReadonlyArray<Transaction>;
[address: string]: Transaction[];
} {
const processableTransactions: {
[address: string]: ReadonlyArray<Transaction>;
[address: string]: Transaction[];
} = {};
for (const address of Object.keys(this._transactionList)) {
const transactions = this._transactionList[address].getProcessable();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@
* Removal or modification of this copyright notice is prohibited.
*/

'use strict';

const FORGER_INFO_KEY_USED_HASH_ONION = 'forger:usedHashOnion';
const FORGER_INFO_KEY_REGISTERED_HASH_ONION_SEEDS =
export const FORGER_INFO_KEY_USED_HASH_ONION = 'forger:usedHashOnion';
export const FORGER_INFO_KEY_REGISTERED_HASH_ONION_SEEDS =
'forger:registeredHashOnion';

module.exports = {
FORGER_INFO_KEY_USED_HASH_ONION,
FORGER_INFO_KEY_REGISTERED_HASH_ONION_SEEDS,
};
Loading

0 comments on commit 86e5424

Please sign in to comment.