From d2c52c10bdfa57a621aea392e75558e07bdd73b0 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Fri, 10 Jan 2025 19:16:48 +0900 Subject: [PATCH] Always allow to mine a block in cheat mode --- BTCPayServer/Views/UIInvoice/Checkout-Cheating.cshtml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/BTCPayServer/Views/UIInvoice/Checkout-Cheating.cshtml b/BTCPayServer/Views/UIInvoice/Checkout-Cheating.cshtml index d3852f2dc..3e13a25dc 100644 --- a/BTCPayServer/Views/UIInvoice/Checkout-Cheating.cshtml +++ b/BTCPayServer/Views/UIInvoice/Checkout-Cheating.cshtml @@ -19,7 +19,7 @@ -
+
@@ -66,7 +66,7 @@ }, computed: { display() { - return this.successMessage || this.errorMessage || this.displayPayment || this.displayMine || this.displayExpire; + return this.successMessage || this.errorMessage || this.displayPayment || this.displayExpire; }, displayPayment () { return !this.isSettled && !this.isProcessing; @@ -74,9 +74,6 @@ displayExpire () { return !this.isSettled && !this.isProcessing; }, - displayMine () { - return this.paymentMethodId === 'BTC-CHAIN'; - }, isSats () { return this.cryptoCode === 'sats'; },