diff --git a/CHANGES.md b/CHANGES.md index b9aa98a51d..540f3d0340 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -686,7 +686,7 @@ The following data models were either modified, added, removed, or renamed by ha - #3215 chifra tokens with --verbose produces empty dates - #3214 chifra cmd - thoughts from making a tutorial in Berlin - #3213 chifra export --trace --count doesn't work -- #3212 chifra cmd -- any use of `--chain` with a value not found in the array shoudl fail more gracefully +- #3212 chifra cmd -- any use of `--chain` with a value not found in the array should fail more gracefully - #3211 Omission of popular contracts with long vanity addresses - #3210 chifra chunks manifest --pin requires ipfs even if the help text says otherwise - #3207 chifra blocks no reporting... @@ -1614,7 +1614,7 @@ There were no changes to the [Specification for the Unchained Index](https://tru - Changed `abi_source` to `abiSource`. - Changed `input_dicts` to `inputDicts`. - Changed `output_dicts` to `outputDicts`. - - Removed `input_names` and `output_names`. (These may be added back in in the future.) + - Removed `input_names` and `output_names`. (These may be added back in the future.) - `Reconciliation` data model: - Changed `prevBlock` to `prevAppBlk`. - Changed `prevBlkBal` to `prevBal`. diff --git a/src/apps/chifra/internal/names/validate.go b/src/apps/chifra/internal/names/validate.go index 73bf5d63f8..e5eb26d004 100644 --- a/src/apps/chifra/internal/names/validate.go +++ b/src/apps/chifra/internal/names/validate.go @@ -26,7 +26,7 @@ func (opts *NamesOptions) validateNames() error { isDryRunnable := opts.Clean || len(opts.Autoname) > 0 if opts.DryRun && !isDryRunnable { - return validate.Usage("The {0} option is is only available with the {1} options.", "--dry_run", "--clean or --autoname") + return validate.Usage("The {0} option is only available with the {1} options.", "--dry_run", "--clean or --autoname") } if opts.Tags { diff --git a/src/apps/chifra/pkg/base/fileRange.go b/src/apps/chifra/pkg/base/fileRange.go index 5bc4cb6221..54fef75998 100644 --- a/src/apps/chifra/pkg/base/fileRange.go +++ b/src/apps/chifra/pkg/base/fileRange.go @@ -70,7 +70,7 @@ func (r FileRange) String() string { return fmt.Sprintf("%09d-%09d", r.First, r.Last) } -// RangeToFilename returns a fileName and and existance bool given a file range and a type +// RangeToFilename returns a fileName and existence bool given a file range and a type func (r *FileRange) RangeToFilename(chain string) (bool, string) { fileName := config.PathToIndex(chain) + "finalized/" + r.String() + ".bin" return file.FileExists(fileName), fileName diff --git a/src/dev_tools/utillib/sftime.cpp b/src/dev_tools/utillib/sftime.cpp index 64f96dec33..40ee9c869d 100644 --- a/src/dev_tools/utillib/sftime.cpp +++ b/src/dev_tools/utillib/sftime.cpp @@ -701,7 +701,7 @@ TYPE lfloor(TYPE a, TYPE b) { time_q::CDate& time_q::CDate::setValues(uint32_t y, uint32_t m, uint32_t d) { m_nDays = (uint64_t)LONG_MIN; if (m >= JANUARY && m <= DECEMBER && d <= DaysInMonth(y, m)) { - // The following algorithm has been taken from from an article in + // The following algorithm has been taken from an article in // the March 1993 issue of the Windows / Dos Developers Journal. m_nDays = (y - 1) * 365 + (uint64_t)lfloor((int32_t)(y - 1), 4);