Skip to content

Commit

Permalink
Remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
simonsso committed Jan 4, 2024
1 parent 39bb7f0 commit 2a714a6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tokens/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,13 @@ impl Pay for TestPay {
type Error = ();

fn pay(
who: &Self::Beneficiary,
asset_kind: Self::AssetKind,
amount: Self::Balance,
_who: &Self::Beneficiary,
_asset_kind: Self::AssetKind,
_amount: Self::Balance,
) -> Result<Self::Id, Self::Error> {
Err(())
}
fn check_payment(id: Self::Id) -> PaymentStatus {
fn check_payment(_id: Self::Id) -> PaymentStatus {
PaymentStatus::Unknown
}
#[cfg(feature = "runtime-benchmarks")]
Expand Down

0 comments on commit 2a714a6

Please sign in to comment.