From 80d4dc22e4826ba40fd8c619d5654abf242ee457 Mon Sep 17 00:00:00 2001 From: ghost Date: Thu, 14 Dec 2023 00:39:13 +0200 Subject: [PATCH] remove namespace requirement as related to parent --- src/Reader.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Reader.php b/src/Reader.php index 1f8d32d..a234443 100644 --- a/src/Reader.php +++ b/src/Reader.php @@ -30,8 +30,7 @@ class Reader isset($meta['model']['name']) && strtolower($meta['model']['name']) === 'kevacoin' && isset($meta['model']['software']) && is_array($meta['model']['software']) && isset($meta['model']['software']['version']) && is_int($meta['model']['software']['version']) && - isset($meta['model']['software']['protocol']) && is_int($meta['model']['software']['protocol']) && - isset($meta['model']['namespace']) && preg_match('/^N[0-9A-z]{33}$/', $meta['model']['namespace']) + isset($meta['model']['software']['protocol']) && is_int($meta['model']['software']['protocol']) ) ) $this->_errors[] = _('[_CLITOR_IS_] model not compatible');