diff --git a/cmd/photographer/exec.go b/cmd/photographer/exec.go index 3667371..6b932a6 100644 --- a/cmd/photographer/exec.go +++ b/cmd/photographer/exec.go @@ -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) {