Skip to content

Commit

Permalink
Prevent our regression tests using the empty string as a DB type (#1380)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnomalRoil committed Jul 15, 2024
1 parent 5452ba0 commit f40cb45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions demo/node/node_subprocess.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ func (n *NodeProc) setup() {
func (n *NodeProc) Start(dbEngineType chain.StorageType, pgDSN func() string, memDBSize int) error {
if dbEngineType != "" {
n.dbEngineType = dbEngineType
} else {
n.dbEngineType = chain.BoltDB
}
if pgDSN != nil {
n.pgDSN = pgDSN()
Expand Down

0 comments on commit f40cb45

Please sign in to comment.