multiblock fix stale mempool txs
This commit is contained in:
parent
beb128b5e0
commit
7b3d2b983c
@ -123,7 +123,7 @@ export class EightMempoolComponent implements OnInit, OnDestroy {
|
|||||||
for (const tx of transactionsStripped) {
|
for (const tx of transactionsStripped) {
|
||||||
inNewBlock[tx.txid] = true;
|
inNewBlock[tx.txid] = true;
|
||||||
}
|
}
|
||||||
for (const txid of Object.keys(this.blockGraph?.scenes[update.block]?.txs || {})) {
|
for (const txid of Object.keys(this.blockGraph?.scenes[this.numBlocks - update.block - 1]?.txs || {})) {
|
||||||
inOldBlock[txid] = true;
|
inOldBlock[txid] = true;
|
||||||
if (!inNewBlock[txid]) {
|
if (!inNewBlock[txid]) {
|
||||||
removed.push(txid);
|
removed.push(txid);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user