mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-30 19:51:58 +00:00
cswal -> cs_wal_dir
This commit is contained in:
@@ -40,8 +40,8 @@ type WAL struct {
|
||||
light bool // ignore block parts
|
||||
}
|
||||
|
||||
func NewWAL(path string, light bool) (*WAL, error) {
|
||||
head, err := auto.OpenAutoFile(path)
|
||||
func NewWAL(walDir string, light bool) (*WAL, error) {
|
||||
head, err := auto.OpenAutoFile(walDir + "/wal")
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user