expose getBlock method

This commit is contained in:
Patrick Nagurny 2015-07-23 15:08:09 -06:00
parent 990f508bbb
commit fd8ee3ba9d

View File

@ -210,6 +210,7 @@ DB.prototype.blockHandler = function(block, add, callback) {
DB.prototype.getAPIMethods = function() {
var methods = [
['getBlock', this, this.getBlock, 1],
['getTransaction', this, this.getTransaction, 2]
];