isDevelopment regex

This commit is contained in:
Jaco Greeff
2020-04-07 21:23:20 +02:00
parent 2c0d8e4b59
commit d40d6c65f7
+1 -1
View File
@@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
const re = new RegExp('^(Development|Local Testnet)$');
const re = new RegExp('(Development|Local Testnet)$');
export default function isTestChain (chain?: string | null): boolean {
if (!chain) {