Merge pull request #4953 from mempool/nymkappa/use-bid-boost-accel-list

[accelerator] use new bidBoost field
This commit is contained in:
wiz 2024-04-13 14:59:33 +09:00 committed by GitHub
commit db1cc0d0e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,7 +58,7 @@ export class AccelerationsListComponent implements OnInit {
} }
} }
for (const acc of accelerations) { for (const acc of accelerations) {
acc.boost = acc.boostCost != null ? acc.boostCost : (acc.feePaid - acc.baseFee - acc.vsizeFee); acc.boost = acc.boostCost != null ? acc.boostCost : acc.bidBoost;
} }
if (this.widget) { if (this.widget) {
return of(accelerations.slice(0, 6)); return of(accelerations.slice(0, 6));