[accelerator] use new bidBoost field

This commit is contained in:
nymkappa 2024-04-12 15:12:25 +09:00
parent 9a77135d30
commit 2c12e9f64b
No known key found for this signature in database
GPG Key ID: 92358FC85D9645DE

View File

@ -58,7 +58,7 @@ export class AccelerationsListComponent implements OnInit {
}
}
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) {
return of(accelerations.slice(0, 6));