diff --git a/lib/bitcoind.js b/lib/bitcoind.js index 95d7dfc9..9f5131a7 100644 --- a/lib/bitcoind.js +++ b/lib/bitcoind.js @@ -481,6 +481,10 @@ Bitcoin.prototype.getChainHeight = function() { return bitcoindjs.getChainHeight(); }; +Bitcoin.prototype.__defineGetter__('chainHeight', function() { + return this.getChainHeight(); +}); + Bitcoin.prototype.log = Bitcoin.prototype.info = function() { if (this.options.silent) return;