Skip to content

Instantly share code, notes, and snippets.

@rfikki
Last active October 23, 2018 10:07
Show Gist options
  • Save rfikki/533ed11d7fedf749045d87d37fe9c1c1 to your computer and use it in GitHub Desktop.
Save rfikki/533ed11d7fedf749045d87d37fe9c1c1 to your computer and use it in GitHub Desktop.
admin.getPeers(function(e,r){r.forEach(function(i){console.log('admin.addPeer("enode://'+i.id+'@'+i.network.remoteAddress + '");')})})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment