mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-02-21 06:04:26 +01:00
Show significant letters in the derivation scheme in store settings
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
@using System.Text.RegularExpressions
|
||||
@using System.Text.RegularExpressions
|
||||
@model StoreViewModel
|
||||
@{
|
||||
Layout = "../Shared/_NavLayout.cshtml";
|
||||
@@ -52,7 +52,7 @@
|
||||
<code class="text-nowrap">
|
||||
@if (scheme.Value.Length > 20)
|
||||
{
|
||||
var match = Regex.Match(scheme.Value, @"((?:-\[(?:[^\]])+\])+|\S{6})$");
|
||||
var match = Regex.Match(scheme.Value, @"((?:-\[(?:[^\]])+\])+|\S{16})$");
|
||||
@match.Value;
|
||||
}
|
||||
</code>
|
||||
|
||||
Reference in New Issue
Block a user