all: use gometalinter.v2, fix new gosimple issues (#15650)
This commit is contained in:
@@ -114,10 +114,7 @@ func PrintDisassembled(code string) error {
|
||||
fmt.Printf("%06v: %v\n", it.PC(), it.Op())
|
||||
}
|
||||
}
|
||||
if err := it.Error(); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
return it.Error()
|
||||
}
|
||||
|
||||
// Return all disassembled EVM instructions in human-readable format.
|
||||
|
Reference in New Issue
Block a user