[accelerator] fix duplicate invoice request
This commit is contained in:
		
							parent
							
								
									b4e46c3ff8
								
							
						
					
					
						commit
						e158c10688
					
				| @ -233,7 +233,7 @@ export class AccelerateCheckout implements OnInit, OnDestroy { | ||||
|           } | ||||
|           this.cost = this.userBid + this.estimate.mempoolBaseFee + this.estimate.vsizeFee; | ||||
| 
 | ||||
|           if (this.canPayWithBitcoin && !this.loadingBtcpayInvoice) { | ||||
|           if (this.step === 'checkout' && this.canPayWithBitcoin && !this.loadingBtcpayInvoice) { | ||||
|             this.loadingBtcpayInvoice = true; | ||||
|             this.requestBTCPayInvoice(); | ||||
|           } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user