diff --git a/Makefile b/Makefile index d097ae72b..8b621a9a4 100644 --- a/Makefile +++ b/Makefile @@ -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 \ diff --git a/example/dummy/persistent_dummy.go b/example/dummy/persistent_dummy.go index 94ce85adf..20b68b9aa 100644 --- a/example/dummy/persistent_dummy.go +++ b/example/dummy/persistent_dummy.go @@ -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