Skip to content

Commit

Permalink
fix tokenfactory
Browse files Browse the repository at this point in the history
  • Loading branch information
NeverHappened committed Oct 18, 2024
1 parent 6707ecd commit f578c38
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions contracts/tokenfactory/schema/query_msg.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"full_denom": {
"type": "object",
"required": [
"creator_addr",
"creator",
"subdenom"
],
"properties": {
"creator_addr": {
"creator": {
"type": "string"
},
"subdenom": {
Expand Down Expand Up @@ -62,13 +62,13 @@
"type": "object",
"required": [
"creator",
"denom"
"subdenom"
],
"properties": {
"creator": {
"type": "string"
},
"denom": {
"subdenom": {
"type": "string"
}
},
Expand Down
4 changes: 2 additions & 2 deletions contracts/tokenfactory/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub fn instantiate(
pub fn execute(
_deps: DepsMut,
env: Env,
info: MessageInfo,
_info: MessageInfo,
msg: ExecuteMsg,
) -> StdResult<Response> {
let msg: CosmosMsg = match msg {
Expand Down Expand Up @@ -94,7 +94,7 @@ pub fn execute(
from,
to,
} => MsgForceTransfer {
sender: info.sender.to_string(),
sender: env.contract.address.to_string(),
amount: Some(CosmosCoin {
denom,
amount: amount.to_string(),
Expand Down

0 comments on commit f578c38

Please sign in to comment.