Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

Commit

Permalink
Merge pull request #7 from sdboyer/vet-fixes
Browse files Browse the repository at this point in the history
Fix a couple errors from go vet
  • Loading branch information
obscuren committed Feb 19, 2014
2 parents bbcf304 + 6dac014 commit 1e241e3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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-- {
Expand Down Expand Up @@ -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()

Expand Down

0 comments on commit 1e241e3

Please sign in to comment.