mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-05 13:05:09 +00:00
consensus: handshake replay test using wal
This commit is contained in:
@@ -40,8 +40,8 @@ type WAL struct {
|
||||
light bool // ignore block parts
|
||||
}
|
||||
|
||||
func NewWAL(walDir string, light bool) (*WAL, error) {
|
||||
group, err := auto.OpenGroup(walDir + "/wal")
|
||||
func NewWAL(walFile string, light bool) (*WAL, error) {
|
||||
group, err := auto.OpenGroup(walFile)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user