Skip to content

Commit

Permalink
fix some spelling errors
Browse files Browse the repository at this point in the history
  • Loading branch information
spoonincode committed Jul 26, 2024
1 parent 6b21988 commit 43bc68a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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 @@ -253,7 +253,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
2 changes: 1 addition & 1 deletion plugins/chain_api_plugin/chain.swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ paths:

/get_block_header_state:
post:
description: Retrieves the glock header state
description: Retrieves the block header state
operationId: get_block_header_state
requestBody:
content:
Expand Down

0 comments on commit 43bc68a

Please sign in to comment.