mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
Other clippy fixes
This commit is contained in:
@@ -258,7 +258,7 @@ async fn sign_test() {
|
||||
// Verify the mint occurred as expected
|
||||
assert_eq!(
|
||||
serai.mint_events().await.unwrap(),
|
||||
vec![CoinsEvent::Mint { address: serai_addr, balance }]
|
||||
vec![CoinsEvent::Mint { to: serai_addr.into(), balance }]
|
||||
);
|
||||
assert_eq!(serai.coin_supply(Coin::Bitcoin).await.unwrap(), amount);
|
||||
assert_eq!(serai.coin_balance(Coin::Bitcoin, serai_addr).await.unwrap(), amount);
|
||||
@@ -301,7 +301,7 @@ async fn sign_test() {
|
||||
assert_eq!(burn_events.len(), 1);
|
||||
assert_eq!(
|
||||
burn_events[0],
|
||||
CoinsEvent::Burn { address: serai_addr, instruction: out_instruction.clone() }
|
||||
CoinsEvent::Burn { from: serai_addr.into(), instruction: out_instruction.clone() }
|
||||
);
|
||||
break 'outer;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user