mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
clippy fixes
This commit is contained in:
@@ -74,7 +74,7 @@ pub mod pallet {
|
||||
fn execute(instruction: InInstructionWithBalance) -> Result<(), ()> {
|
||||
match instruction.instruction {
|
||||
InInstruction::Transfer(address) => {
|
||||
Coins::<T>::mint(&address.into(), instruction.balance).map_err(|_| ())
|
||||
Coins::<T>::mint(address.into(), instruction.balance).map_err(|_| ())
|
||||
}
|
||||
_ => panic!("unsupported instruction"),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user