diff --git a/lib/db.js b/lib/db.js index 14983950..12201676 100644 --- a/lib/db.js +++ b/lib/db.js @@ -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] ];