Merge pull request #4953 from mempool/nymkappa/use-bid-boost-accel-list
[accelerator] use new bidBoost field
This commit is contained in:
		
						commit
						db1cc0d0e1
					
				@ -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));
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user