Skip to content

Commit

Permalink
fix snapshot exec constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
fraidev committed Nov 17, 2023
1 parent d7551dd commit 78c5488
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/photographer/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ import (

type SnapshotExec struct {
snapshotsPath string
tezosPath string
octezNodeBinPath string
tezosPath string
}

func NewSnapshotExec(snapshotsPath, tezosPath, octezNodePath string) *SnapshotExec {
return &SnapshotExec{snapshotsPath, tezosPath, octezNodePath}
func NewSnapshotExec(snapshotsPath, octezNodePath, tezosPath string) *SnapshotExec {
return &SnapshotExec{snapshotsPath, octezNodePath, tezosPath}
}

func (s *SnapshotExec) CreateSnapshot(historyMode snapshot.HistoryModeType) {
Expand Down

0 comments on commit 78c5488

Please sign in to comment.