Skip to content

Commit

Permalink
Add Serialize trait bound
Browse files Browse the repository at this point in the history
  • Loading branch information
shanev committed Aug 19, 2023
1 parent 7da1754 commit 7bdce80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/burn-to-mint/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use cosmwasm_schema::cw_serde;
use cosmwasm_std::StdError;
use serde::Serialize;
use std::env;

// use crate::error::ContractError;
Expand All @@ -18,7 +19,7 @@ use sg_std::Response;
#[cw_serde]
pub struct BurnToMint();

pub fn execute_burn_to_mint<T>(
pub fn execute_burn_to_mint<T: Serialize>(
info: MessageInfo,
env: Env,
msg: Cw721ReceiveMsg,
Expand Down

0 comments on commit 7bdce80

Please sign in to comment.