Deprecate pool_unique_id

This commit is contained in:
softsimon
2024-06-20 12:22:54 +09:00
parent 02eb633d89
commit 0719b20110
6 changed files with 7 additions and 14 deletions

View File

@@ -313,7 +313,7 @@ export class BlockComponent implements OnInit, OnDestroy {
const acceleratedInBlock = {};
for (const acc of accelerations) {
if (acc.pools?.some(pool => pool === this.block?.extras?.pool.id || pool?.['pool_unique_id'] === this.block?.extras?.pool.id)) {
if (acc.pools?.some(pool => pool === this.block?.extras?.pool.id)) {
acceleratedInBlock[acc.txid] = acc;
}
}