diff options
author | Jeffrey Wilcke <obscuren@users.noreply.github.com> | 2014-02-19 18:36:23 +0800 |
---|---|---|
committer | Jeffrey Wilcke <obscuren@users.noreply.github.com> | 2014-02-19 18:36:23 +0800 |
commit | 1e241e3a614c2f9a76681cd3f311653c0cc432c8 (patch) | |
tree | 04c05ed4b66684c1a43828818026246cf5652448 | |
parent | bbcf304b99b6bc9e2a2a8f49cda5e5b77917dd0a (diff) | |
parent | 6dac014978d30883aa556c004f948e66a314d2de (diff) | |
download | go-tangerine-1e241e3a614c2f9a76681cd3f311653c0cc432c8.tar go-tangerine-1e241e3a614c2f9a76681cd3f311653c0cc432c8.tar.gz go-tangerine-1e241e3a614c2f9a76681cd3f311653c0cc432c8.tar.bz2 go-tangerine-1e241e3a614c2f9a76681cd3f311653c0cc432c8.tar.lz go-tangerine-1e241e3a614c2f9a76681cd3f311653c0cc432c8.tar.xz go-tangerine-1e241e3a614c2f9a76681cd3f311653c0cc432c8.tar.zst go-tangerine-1e241e3a614c2f9a76681cd3f311653c0cc432c8.zip |
Merge pull request #7 from sdboyer/vet-fixes
Fix a couple errors from go vet
-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() |