Skip to content

Commit

Permalink
working without errors
Browse files Browse the repository at this point in the history
  • Loading branch information
laysabit committed May 27, 2024
1 parent e682c75 commit b2c8cc7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cmd/get_ledger_range_from_times.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,9 @@ var getLedgerRangeFromTimesCmd = &cobra.Command{

if path != "" {
outFile := mustOutFile(path)
outFile.Write(marshalled)
outFile.WriteString("\n")

numFailures := 0
totalNumBytes := 0
numBytes, err := exportEntry(marshalled, outFile, nil)
numBytes, err := exportEntry(toExport, outFile, nil)
if err != nil {
cmdLogger.LogError(fmt.Errorf("could not export ledger ranges: %v", err))
numFailures += 1
Expand Down

0 comments on commit b2c8cc7

Please sign in to comment.