From 9bb884cac6379663c0dc66ba478d80325e5108ec Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 6 Jul 2021 18:21:47 +0530 Subject: [PATCH] fix a type error caused by (my) invalid API use --- lib/commands/block.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); });