From 7e88a49e8334dbf802fd35e8b23b2b66c437e2d7 Mon Sep 17 00:00:00 2001 From: Kyle Pierce Date: Sat, 20 Jul 2019 01:10:42 -0700 Subject: [PATCH] Add secondary subaddress syntax --- src/components/identicon.vue | 5 ++++- src/validators/common.js | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/identicon.vue b/src/components/identicon.vue index 90c88b7..9f74dce 100644 --- a/src/components/identicon.vue +++ b/src/components/identicon.vue @@ -86,7 +86,10 @@ export default { case "UmV": return input.length === 97 - + + case "UmW": + return input.length === 97 + default: return false } diff --git a/src/validators/common.js b/src/validators/common.js index e598b88..a8254da 100644 --- a/src/validators/common.js +++ b/src/validators/common.js @@ -23,6 +23,9 @@ export const address = (input) => { case "UmV": return input.length === 97 + case "UmW": + return input.length === 97 + default: return false }