Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
trinitys7 committed Sep 6, 2024
1 parent 2302a65 commit c3b260d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contracts/consumer/converter/src/ibc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,8 @@ pub fn ibc_packet_receive(
ProviderPacket::TransferRewards {
rewards, recipient, ..
} => {
let msg = contract.transfer_rewards(deps.as_ref(), recipient.clone(), rewards.clone())?;
let msg =
contract.transfer_rewards(deps.as_ref(), recipient.clone(), rewards.clone())?;
let event = Event::new("mesh-transfer-rewards")
.add_attribute("recipient", &recipient)
.add_attribute("rewards", &rewards.amount.to_string());

Check failure on line 261 in contracts/consumer/converter/src/ibc.rs

View workflow job for this annotation

GitHub Actions / Lints

the borrowed expression implements the required traits
Expand Down

0 comments on commit c3b260d

Please sign in to comment.