Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ceyonur committed Oct 16, 2024
1 parent d2de9ae commit 75c76b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/evm/vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,7 @@ func getDatabaseConfig(config Config, chainDataDir string) (avalancheNode.Databa
// Otherwise, the chain will use the provided [avaDB] for its state.
func (vm *VM) initializeDBs(avaDB database.Database) error {
db := avaDB
// skip standalone database initialization if we are running memdb
// skip standalone database initialization if we are running in unit tests
if vm.ctx.NetworkID != avalancheconstants.UnitTestID {
// first initialize the accepted block database to check if we need to use a standalone database
verDB := versiondb.New(avaDB)
Expand Down

0 comments on commit 75c76b0

Please sign in to comment.