Skip to content

Commit

Permalink
Fix some typos identified by Oak. (#601)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xekez authored Jan 9, 2023
1 parent e81708b commit 2aeea74
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion contracts/external/cw-token-swap/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pub enum ContractError {
#[error("Can not create an escrow for zero tokens")]
ZeroTokens {},

#[error("Provied funds do not match promised funds")]
#[error("Provided funds do not match promised funds")]
InvalidFunds {},

#[error("Invalid amount. Expected ({expected}), got ({actual})")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,6 @@ pub fn execute_propose(

// Prepare proposal submitted hooks msg to notify approver. Make
// a proposal on the approver DAO to approve this pre-proposal

// TODO(zeke): is this actually what we should be feeding to the
// proposal submitted hooks? this locks them into being an
// approver.
let hooks_msgs =
pre_propose_base
.proposal_submitted_hooks
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@
"additionalProperties": false
},
"MultipleChoiceOptions": {
"description": "Represents unchecked multipl choice options",
"description": "Represents unchecked multiple choice options",
"type": "object",
"required": [
"options"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,7 @@
"additionalProperties": false
},
"MultipleChoiceOptions": {
"description": "Represents unchecked multipl choice options",
"description": "Represents unchecked multiple choice options",
"type": "object",
"required": [
"options"
Expand Down
2 changes: 1 addition & 1 deletion packages/dao-voting/src/multiple_choice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pub enum MultipleChoiceOptionType {
Standard,
}

/// Represents unchecked multipl choice options
/// Represents unchecked multiple choice options
#[cw_serde]
pub struct MultipleChoiceOptions {
pub options: Vec<MultipleChoiceOption>,
Expand Down

0 comments on commit 2aeea74

Please sign in to comment.