Fix add 'Unknown' pool logic

This commit is contained in:
nymkappa 2022-01-20 16:56:25 +09:00
parent 1210643e8e
commit 8d1cc40459
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04

View File

@ -93,7 +93,7 @@ class PoolsParser {
}
// Manually add the 'unknown pool'
if (existingPools.find((pool) => pool.name === 'Unknown') !== undefined) {
if (existingPools.find((pool) => pool.name === 'Unknown') === undefined) {
finalPoolDataAdd.push({
'name': 'Unknown',
'link': 'https://learnmeabitcoin.com/technical/coinbase-transaction',