From cc6fe24e82afc79e4c60cfd1db9be578aec87e72 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Sun, 8 Nov 2020 11:29:36 +0900 Subject: [PATCH] Show significant letters in the derivation scheme in store settings --- BTCPayServer/Views/Stores/UpdateStore.cshtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BTCPayServer/Views/Stores/UpdateStore.cshtml b/BTCPayServer/Views/Stores/UpdateStore.cshtml index 2dd9ff0d0..45186cc82 100644 --- a/BTCPayServer/Views/Stores/UpdateStore.cshtml +++ b/BTCPayServer/Views/Stores/UpdateStore.cshtml @@ -1,4 +1,4 @@ -@using System.Text.RegularExpressions +@using System.Text.RegularExpressions @model StoreViewModel @{ Layout = "../Shared/_NavLayout.cshtml"; @@ -52,7 +52,7 @@ @if (scheme.Value.Length > 20) { - var match = Regex.Match(scheme.Value, @"((?:-\[(?:[^\]])+\])+|\S{6})$"); + var match = Regex.Match(scheme.Value, @"((?:-\[(?:[^\]])+\])+|\S{16})$"); @match.Value; }