expose getBlock method
This commit is contained in:
parent
990f508bbb
commit
fd8ee3ba9d
@ -210,6 +210,7 @@ DB.prototype.blockHandler = function(block, add, callback) {
|
|||||||
|
|
||||||
DB.prototype.getAPIMethods = function() {
|
DB.prototype.getAPIMethods = function() {
|
||||||
var methods = [
|
var methods = [
|
||||||
|
['getBlock', this, this.getBlock, 1],
|
||||||
['getTransaction', this, this.getTransaction, 2]
|
['getTransaction', this, this.getTransaction, 2]
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user