diff --git a/plugin/evm/vm.go b/plugin/evm/vm.go index f8145a53a3..2dcf2fff0a 100644 --- a/plugin/evm/vm.go +++ b/plugin/evm/vm.go @@ -1197,9 +1197,8 @@ func (vm *VM) useStandaloneDatabase(acceptedDB database.Database) (bool, error) if err == database.ErrNotFound { // If there is nothing in the database, we can use the standalone database return true, nil - } else { - return false, err } + return false, err } // getDatabaseConfig returns the database configuration for the chain