From fd8ee3ba9dd0d7bd8e7792a389850ceb221cd16a Mon Sep 17 00:00:00 2001 From: Patrick Nagurny Date: Thu, 23 Jul 2015 15:08:09 -0600 Subject: [PATCH] expose getBlock method --- lib/db.js | 1 + 1 file changed, 1 insertion(+) 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] ];