Fix error messages (pointed out by go vet)

This commit is contained in:
Dale Rahn 2013-09-13 11:49:30 -04:00
parent 5e4c78a1b7
commit 9e27c82a23

View file

@ -138,12 +138,12 @@ out:
} }
if blkid != height { if blkid != height {
t.Errorf("height doe not match latest block height %v %v", blkid, height, err) t.Errorf("height doe not match latest block height %v %v %v", blkid, height, err)
} }
blkSha, _ := block.Sha() blkSha, _ := block.Sha()
if *newSha != *blkSha { if *newSha != *blkSha {
t.Errorf("Newest block sha does not match freshly inserted one %v %v ", newSha, blkSha, err) t.Errorf("Newest block sha does not match freshly inserted one %v %v %v ", newSha, blkSha, err)
} }
} }