From 6f28ef651fed6f7b29a759c3faec73285064207f Mon Sep 17 00:00:00 2001 From: James Cramer Date: Mon, 27 Aug 2018 07:47:35 -0400 Subject: [PATCH] add support for testnet specific slp addr "slptest" --- src/cashaddr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cashaddr.js b/src/cashaddr.js index ae21457..e3a7287 100644 --- a/src/cashaddr.js +++ b/src/cashaddr.js @@ -83,7 +83,7 @@ var ValidationError = validation.ValidationError; * * @private */ -var VALID_PREFIXES = ['bitcoincash', 'bchtest', 'bchreg', 'simpleledger']; +var VALID_PREFIXES = ['bitcoincash', 'bchtest', 'bchreg', 'simpleledger', 'slptest']; /** * Checks whether a string is a valid prefix; ie., it has a single letter case