Skip to content

Commit

Permalink
update api for docs/index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Braydon Fuller committed Mar 18, 2015
1 parent df632f3 commit d0af319
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<img src="http://bitcore.io/css/images/bitcore-p2p.svg" alt="bitcore payment protocol" height="35" width="102">

Bitcore P2P
=======

Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ npm install bitcore-p2p --save

```javascript
var Peer = require('bitcore-p2p').Peer;
var peer = new Peer('5.9.85.34');
var peer = new Peer({host: '5.9.85.34'});

// handle events
peer.on('inv', function(message) {
Expand Down

0 comments on commit d0af319

Please sign in to comment.