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

Update application/node/forger to be typescript - Closes #5190 #5304

Merged
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