Footer and header design updates.
This commit is contained in:
@@ -104,7 +104,7 @@ class Mempool {
|
||||
}
|
||||
|
||||
// Replace mempool to clear already confirmed transactions
|
||||
const newMempool: any = {};
|
||||
const newMempool = {};
|
||||
transactions.forEach((tx) => {
|
||||
if (this.mempoolCache[tx]) {
|
||||
newMempool[tx] = this.mempoolCache[tx];
|
||||
@@ -113,6 +113,9 @@ class Mempool {
|
||||
}
|
||||
});
|
||||
|
||||
console.log(`New mempool size: ${Object.keys(newMempool).length} ` +
|
||||
` Change: ${transactions.length - Object.keys(newMempool).length}`);
|
||||
|
||||
this.mempoolCache = newMempool;
|
||||
|
||||
if (hasChange && this.mempoolChangedCallback) {
|
||||
|
||||
Reference in New Issue
Block a user