mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 04:39:24 +00:00
Resolve clippy errors from recent merges
This commit is contained in:
@@ -16,7 +16,7 @@ pub use abi::{primitives, Transaction};
|
||||
use abi::*;
|
||||
|
||||
pub use primitives::{SeraiAddress, Signature, Amount};
|
||||
use primitives::{Header, NetworkId, ExternalNetworkId, QuotePriceParams};
|
||||
use primitives::{Header, ExternalNetworkId, QuotePriceParams};
|
||||
use crate::in_instructions::primitives::Shorthand;
|
||||
|
||||
pub mod coins;
|
||||
|
||||
@@ -93,11 +93,8 @@ async fn test_external_address(serai: Serai) {
|
||||
let xmr_address: String = serai.external_network_address(network).await.unwrap();
|
||||
|
||||
// make sure it is a valid address
|
||||
let _ = monero_wallet::address::MoneroAddress::from_str(
|
||||
monero_wallet::address::Network::Mainnet,
|
||||
&xmr_address,
|
||||
)
|
||||
.unwrap();
|
||||
let _ = monero_address::MoneroAddress::from_str(monero_address::Network::Mainnet, &xmr_address)
|
||||
.unwrap();
|
||||
}
|
||||
|
||||
async fn test_encoded_shorthand(serai: Serai) {
|
||||
|
||||
Reference in New Issue
Block a user