From 37674ce77ec07e6f99911b0e7d5d286fb49c5ca8 Mon Sep 17 00:00:00 2001 From: lordhelmut Date: Thu, 31 Jul 2014 14:27:15 -0700 Subject: [PATCH] getBestBlockHash is now added to API calls per the README --- app/controllers/status.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/controllers/status.js b/app/controllers/status.js index c64eb6aa..322135fb 100644 --- a/app/controllers/status.js +++ b/app/controllers/status.js @@ -40,6 +40,9 @@ exports.show = function(req, res) { case 'getLastBlockHash': statusObject.getLastBlockHash(returnJsonp); break; + case 'getBestBlockHash': + statusObject.getBestBlockHash(returnJsonp); + break; default: res.status(400).send('Bad Request'); }