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 1f0f92c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/ibc-callbacks/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ 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(),
Expand Down

0 comments on commit 1f0f92c

Please sign in to comment.