diff --git a/lib/commands/block.js b/lib/commands/block.js index 195e0c494..4af32af70 100644 --- a/lib/commands/block.js +++ b/lib/commands/block.js @@ -88,7 +88,7 @@ Block.validateAncestorProof = function (Env, proof, _cb) { } // else fall through to next step }).nThen(function () { - Block.check(Env, pub, function (err) { + BlockStore.check(Env, pub, function (err) { if (err) { return void cb('E_MISSING_ANCESTOR'); } cb(void 0, pub); });