Browse Source

HDNode: use === over ==

hk-custom-address
Daniel Cousens 11 years ago
parent
commit
307ceb9026
  1. 2
      src/hdnode.js

2
src/hdnode.js

@ -167,7 +167,7 @@ HDNode.prototype.toBase58 = function(isPrivate) {
// FIXME: remove in 2.x.y // FIXME: remove in 2.x.y
HDNode.prototype.toBuffer = function(isPrivate, __ignoreDeprecation) { HDNode.prototype.toBuffer = function(isPrivate, __ignoreDeprecation) {
if (isPrivate == undefined) { if (isPrivate === undefined) {
isPrivate = !!this.privKey isPrivate = !!this.privKey
// FIXME: remove in 2.x.y // FIXME: remove in 2.x.y

Loading…
Cancel
Save