Fix metalinter errors

This commit is contained in:
Ethan Frey
2017-10-19 14:48:07 +02:00
parent 46e1f1ae65
commit 7aa00e9ddd
2 changed files with 1 additions and 11 deletions

View File

@@ -52,7 +52,6 @@ metalinter: tools
metalinter_test: tools
@gometalinter --install
gometalinter --vendor --deadline=600s --disable-all \
--enable=aligncheck \
--enable=deadcode \
--enable=gas \
--enable=goconst \
@@ -71,6 +70,7 @@ metalinter_test: tools
--enable=vetshadow \
./...
# --enable=aligncheck \ <== disabled as not installed
#--enable=dupl \
#--enable=errcheck \
#--enable=gocyclo \

View File

@@ -137,16 +137,6 @@ func (app *PersistentDummyApplication) EndBlock(height uint64) (resEndBlock type
return types.ResponseEndBlock{Diffs: app.changes}
}
//-----------------------------------------
// persist the last block info
var lastBlockKey = []byte("lastblock")
type LastBlockInfo struct {
Height uint64
AppHash []byte
}
//---------------------------------------------
// update validators