Skip to content

Commit

Permalink
Fix typo, execute and query extensions should be enums
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeHartnell committed Apr 27, 2023
1 parent aabb42d commit 66bcb57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/cw721-template/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ pub struct MetadataExt {}
// This is the custom Execute message extension for this contract.
// Use it to implement custom functionality.
#[cw_serde]
pub struct ExecuteExt {}
pub enum ExecuteExt {}
impl CustomMsg for ExecuteExt {}

// This is the custom Query message type for this contract.
// Use it to implement custom query messages.
#[cw_serde]
pub struct QueryExt {}
pub enum QueryExt {}
impl CustomMsg for QueryExt {}

// This contrains default cw721 logic with extensions.
Expand Down

0 comments on commit 66bcb57

Please sign in to comment.