Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #86 from noffle/upgrade-peer-id
Browse files Browse the repository at this point in the history
upgrades peer-id to 0.6.0
  • Loading branch information
daviddias committed Mar 15, 2016
2 parents 826eaf8 + 74f4860 commit 8b4dab0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"joi": "^8.0.2",
"lodash.get": "^4.0.0",
"lodash.set": "^4.0.0",
"peer-id": "^0.5.0",
"peer-id": "^0.6.0",
"ronin": "^0.3.11",
"temp": "^0.8.3"
}
Expand Down
2 changes: 1 addition & 1 deletion src/ipfs-core/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function IPFS (repo) {
var pid = peerId.createFromPrivKey(config.Identity.PrivKey)
callback(null, {
ID: config.Identity.PeerID,
PublicKey: pid.pubKey,
PublicKey: pid.pubKey.toString('base64'),
Addresses: config.Addresses,
AgentVersion: 'js-ipfs',
ProtocolVersion: '9000'
Expand Down

0 comments on commit 8b4dab0

Please sign in to comment.