metalinter

This commit is contained in:
Ethan Buchman
2017-12-28 23:15:54 -05:00
parent cb845ebff5
commit 444db4c242
2 changed files with 1 additions and 6 deletions
-5
View File
@@ -12,11 +12,6 @@ import (
//-----------------------------------------------------
// Validate block
// ValidateBlock validates the block against the state.
func _ValidateBlock(s State, block *types.Block) error {
return validateBlock(dbm.NewMemDB(), s, block)
}
func validateBlock(stateDB dbm.DB, s State, b *types.Block) error {
// validate internal consistency
if err := b.ValidateBasic(); err != nil {