Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
k06a authored Mar 12, 2018
1 parent 495f250 commit ce6c552
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/privatekey.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,9 @@ PrivateKey.prototype.toCompressedWIF = function() {
var network = this.network;
var compressed = this.compressed;

buf = Buffer.concat([new Buffer([network.privatekey]),
this.bn.toBuffer({size: 32}),
new Buffer([0x01])]);
var buf = Buffer.concat([new Buffer([network.privatekey]),
this.bn.toBuffer({size: 32}),
new Buffer([0x01])]);

return Base58Check.encode(buf);
};
Expand Down

0 comments on commit ce6c552

Please sign in to comment.