more logging in p2p and consensus

This commit is contained in:
Ethan Buchman
2017-12-15 23:08:05 -05:00
parent b5b912e2c4
commit 0ec7909ec3
6 changed files with 27 additions and 23 deletions

View File

@@ -13,7 +13,6 @@ import (
// Returns an empty dummy peer
func randPeer() *peer {
return &peer{
key: cmn.RandStr(12),
nodeInfo: &NodeInfo{
RemoteAddr: cmn.Fmt("%v.%v.%v.%v:46656", rand.Int()%256, rand.Int()%256, rand.Int()%256, rand.Int()%256),
ListenAddr: cmn.Fmt("%v.%v.%v.%v:46656", rand.Int()%256, rand.Int()%256, rand.Int()%256, rand.Int()%256),