Skip to content

Commit

Permalink
GH-2313 Fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Mar 28, 2024
1 parent e8d10a3 commit bf04b0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/chain/controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ struct building_block {
if (!parent.proposer_policies.empty()) {
block_timestamp_type active_time = detail::get_next_next_round_block_time(timestamp);
if (auto itr = parent.proposer_policies.find(active_time); itr != parent.proposer_policies.cend()) {
return itr->second->proposer_schedule.version; // will replace so retrun same version
return itr->second->proposer_schedule.version; // will replace so return same version
}
return (--parent.proposer_policies.end())->second->proposer_schedule.version + 1;
}
Expand Down

0 comments on commit bf04b0a

Please sign in to comment.