From a7a8eb11bb33d6e2ba9ed9ed380e92302d81360e Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sat, 2 Jan 2016 05:04:10 -0800 Subject: [PATCH] add orphanRoot to spv chain. --- lib/bcoin/chain.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bcoin/chain.js b/lib/bcoin/chain.js index 19c29c7c..ce69eb84 100644 --- a/lib/bcoin/chain.js +++ b/lib/bcoin/chain.js @@ -620,7 +620,7 @@ Chain.prototype.locatorHashes = function locatorHashes(start) { }; Chain.prototype.getOrphanRoot = function getOrphanRoot(hash) { - assert(false); + return bcoin.fullChain.prototype.getOrphanRoot.call(this, hash); }; Chain.prototype.getHeight = function getHeight(hash) {