diff --git a/lib/bitcoind.js b/lib/bitcoind.js index 399f52b3..9eaffd1c 100644 --- a/lib/bitcoind.js +++ b/lib/bitcoind.js @@ -337,7 +337,7 @@ Block.isBlock = function(block) { return block._blockFlag === _blockFlag; }; -// NOTE: Could just call tx.GetHash() in C++ +// NOTE: Could just call tx.GetHash().ToString() in C++ Block.prototype.hash = Block.prototype.getHash = function(enc) { if (!this._hash) { @@ -539,7 +539,7 @@ Transaction.prototype.isNull = function() { ; }; -// NOTE: Could just call tx.GetHash() in C++ +// NOTE: Could just call tx.GetHash().ToString() in C++ Transaction.prototype.hash = Transaction.prototype.getHash = function(enc) { if (!this._hash) {