mirror of
https://github.com/mempool/mempool.git
synced 2025-02-23 14:40:38 +01:00
Fix condition to add mempool data to loaded cache txs
This commit is contained in:
parent
72e19f674a
commit
a510b4992c
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ class Mempool {
|
|||
logger.debug(`Migrating ${Object.keys(this.mempoolCache).length} transactions from disk cache to Redis cache`);
|
||||
}
|
||||
for (const txid of Object.keys(this.mempoolCache)) {
|
||||
if (!this.mempoolCache[txid].sigops || this.mempoolCache[txid].effectiveFeePerVsize == null) {
|
||||
if (!this.mempoolCache[txid].adjustedVsize || this.mempoolCache[txid].sigops == null || this.mempoolCache[txid].effectiveFeePerVsize == null) {
|
||||
this.mempoolCache[txid] = transactionUtils.extendMempoolTransaction(this.mempoolCache[txid]);
|
||||
}
|
||||
if (this.mempoolCache[txid].order == null) {
|
||||
|
|
Loading…
Add table
Reference in a new issue