diff options
author | Sam Boyer <tech@samboyer.org> | 2014-02-18 23:47:09 +0800 |
---|---|---|
committer | Sam Boyer <tech@samboyer.org> | 2014-02-18 23:47:09 +0800 |
commit | 6dac014978d30883aa556c004f948e66a314d2de (patch) | |
tree | 04c05ed4b66684c1a43828818026246cf5652448 /peer.go | |
parent | bbcf304b99b6bc9e2a2a8f49cda5e5b77917dd0a (diff) | |
download | go-tangerine-6dac014978d30883aa556c004f948e66a314d2de.tar.gz go-tangerine-6dac014978d30883aa556c004f948e66a314d2de.tar.zst go-tangerine-6dac014978d30883aa556c004f948e66a314d2de.zip |
Fix a couple errors from go vet
Diffstat (limited to 'peer.go')
-rw-r--r-- | peer.go | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -285,7 +285,6 @@ func (p *Peer) HandleInbound() { p.lastPong = time.Now().Unix() case ethwire.MsgBlockTy: // Get all blocks and process them - msg.Data = msg.Data var block, lastBlock *ethchain.Block var err error for i := msg.Data.Len() - 1; i >= 0; i-- { @@ -438,7 +437,7 @@ func (p *Peer) Start() { err := p.pushHandshake() if err != nil { - log.Printf("Peer can't send outbound version ack", err) + log.Println("Peer can't send outbound version ack", err) p.Stop() |