From 1e38237f8718335f7be951efaf40313b26ad35a4 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sat, 2 Jul 2016 16:04:05 -0700 Subject: [PATCH] fix network. --- lib/bcoin/address.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bcoin/address.js b/lib/bcoin/address.js index ddf51cd7..3745dd83 100644 --- a/lib/bcoin/address.js +++ b/lib/bcoin/address.js @@ -205,7 +205,7 @@ Address.prototype.fromRaw = function fromRaw(data) { p.verifyChecksum(); - return this.fromHash(hash, type, version, network); + return this.fromHash(hash, type, version, network.type); }; /**