From cc74ec4a3a6c664096cccecb9ded4eb87c60376e Mon Sep 17 00:00:00 2001 From: Ceyhun Onur Date: Tue, 15 Oct 2024 18:43:45 +0300 Subject: [PATCH] return nit --- plugin/evm/vm.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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