Skip to content

Commit

Permalink
Merge pull request #503 from AntelopeIO/snap_spelling
Browse files Browse the repository at this point in the history
[5.0 -> main] fix some minor misspellings
  • Loading branch information
spoonincode authored Aug 8, 2024
2 parents 9b03495 + b63b733 commit c10254f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/chain/snapshot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void variant_snapshot_reader::validate() const {
"Variant snapshot version is not an integer");

EOS_ASSERT(version.as_uint64() == (uint64_t)current_snapshot_version, snapshot_validation_exception,
"Variant snapshot is an unsuppored version. Expected : ${expected}, Got: ${actual}",
"Variant snapshot is an unsupported version. Expected : ${expected}, Got: ${actual}",
("expected", current_snapshot_version)("actual",o["version"].as_uint64()));

EOS_ASSERT(o.contains("sections"), snapshot_validation_exception,
Expand Down Expand Up @@ -263,7 +263,7 @@ void istream_snapshot_reader::validate() const {
decltype(expected_version) actual_version;
snapshot.read((char*)&actual_version, sizeof(actual_version));
EOS_ASSERT(actual_version == expected_version, snapshot_exception,
"Binary snapshot is an unsuppored version. Expected : ${expected}, Got: ${actual}",
"Binary snapshot is an unsupported version. Expected : ${expected}, Got: ${actual}",
("expected", expected_version)("actual", actual_version));

while (validate_section()) {}
Expand Down

0 comments on commit c10254f

Please sign in to comment.