Skip to content

Commit

Permalink
Remove redundant clone
Browse files Browse the repository at this point in the history
  • Loading branch information
chipshort committed Feb 22, 2024
1 parent 4ffa0fd commit 6aa17e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/ibc-callbacks/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ pub fn execute(
timeout: IbcTimeout::with_timestamp(
env.block.time.plus_seconds(msg.timeout_seconds.u64()),
),
channel_id: msg.channel_id.clone(),
channel_id: msg.channel_id,
amount: coin.clone(),
memo: Some(to_json_string(&IbcCallbackData::source(IbcSrcCallback {
address: env.contract.address.clone(),
address: env.contract.address,
gas_limit: None,
}))?),
},
Expand Down

0 comments on commit 6aa17e2

Please sign in to comment.