Skip to content

Commit 227bb73

Browse files
save (#3533)
1 parent 6a3537d commit 227bb73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eth/backend.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ func (s *Ethereum) Stop() error {
756756
sentryServer.Close()
757757
}
758758
s.chainDB.Close()
759-
if s.config.TxPool.V2 {
759+
if s.config.TxPool.V2 && s.txPool2DB != nil {
760760
s.txPool2DB.Close()
761761
}
762762
return nil

0 commit comments

Comments
 (0)