Skip to content

Commit

Permalink
Merge pull request #98 from XK4MiLX/patch-1
Browse files Browse the repository at this point in the history
Fix Blockbook check affected by unconfirmed transaction
  • Loading branch information
TheTrunk authored Nov 27, 2023
2 parents 5873d23 + 0bd5eaa commit 4a490ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/application/checks.js
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ async function checkBlockBook(ip, port, appsname) {
}
}
} else if (response2.data.txs > 50 && response2.data.totalPages > response2.data.page) {
if (response2.data.txids.length === 50) {
if (response2.data.txids.length >= 50) {
if (timeDifference < 1000 * 60 * 60 * 6) { // 6 hours
return true;
}
Expand Down

0 comments on commit 4a490ee

Please sign in to comment.