mirror of
https://github.com/mempool/mempool.git
synced 2025-03-17 21:32:02 +01:00
[accelerator] make sure we cannot go back from 'success' step
This commit is contained in:
parent
7d9e275803
commit
cac404ae9b
@ -200,7 +200,7 @@ export class AccelerateCheckout implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
moveToStep(step: CheckoutStep, force: boolean = false): void {
|
||||
if (this.isCheckoutLocked > 0 && !force) {
|
||||
if (this.isCheckoutLocked > 0 && !force || this.step === 'success') {
|
||||
return;
|
||||
}
|
||||
this.processing = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user