HDNode: use === over ==

This commit is contained in:
Daniel Cousens 2014-10-15 19:08:39 +11:00
parent ef1eb04905
commit 307ceb9026

View file

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