add chainHeight property.
This commit is contained in:
parent
d2fd57faef
commit
b474a0a051
@ -481,6 +481,10 @@ Bitcoin.prototype.getChainHeight = function() {
|
|||||||
return bitcoindjs.getChainHeight();
|
return bitcoindjs.getChainHeight();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Bitcoin.prototype.__defineGetter__('chainHeight', function() {
|
||||||
|
return this.getChainHeight();
|
||||||
|
});
|
||||||
|
|
||||||
Bitcoin.prototype.log =
|
Bitcoin.prototype.log =
|
||||||
Bitcoin.prototype.info = function() {
|
Bitcoin.prototype.info = function() {
|
||||||
if (this.options.silent) return;
|
if (this.options.silent) return;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user