getBestBlockHash is now added to API calls per the README
This commit is contained in:
parent
496999644b
commit
37674ce77e
@ -40,6 +40,9 @@ exports.show = function(req, res) {
|
|||||||
case 'getLastBlockHash':
|
case 'getLastBlockHash':
|
||||||
statusObject.getLastBlockHash(returnJsonp);
|
statusObject.getLastBlockHash(returnJsonp);
|
||||||
break;
|
break;
|
||||||
|
case 'getBestBlockHash':
|
||||||
|
statusObject.getBestBlockHash(returnJsonp);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
res.status(400).send('Bad Request');
|
res.status(400).send('Bad Request');
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user