Merge pull request #4863 from mempool/mononaut/fix-block-page

Fix block audit cache bug
This commit is contained in:
softsimon 2024-04-02 15:32:58 +09:00 committed by GitHub
commit 7fab57193d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -395,7 +395,7 @@ export class BlockComponent implements OnInit, OnDestroy {
for (const txid of blockAudit.addedTxs) {
isAdded[txid] = true;
}
for (const txid of blockAudit.prioritizedTxs) {
for (const txid of blockAudit.prioritizedTxs || []) {
isPrioritized[txid] = true;
}
for (const txid of blockAudit.missingTxs) {