From d46035a35f7611f732f2187fad5764a2c906dd32 Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Mon, 24 Aug 2015 01:00:51 +1000 Subject: [PATCH] ECPair: rm duplicate throw --- src/ecpair.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ecpair.js b/src/ecpair.js index 13f2b05..e8877d7 100644 --- a/src/ecpair.js +++ b/src/ecpair.js @@ -68,8 +68,6 @@ ECPair.fromWIF = function (string, network) { network = network.filter(function (network) { return version === network.wif }).pop() || {} - - if (version !== network.wif) throw new Error('Invalid network version') } var decoded = wif.decodeRaw(network.wif, buffer)