Make coin a dedicated library

Closes https://github.com/serai-dex/serai/issues/128.
This commit is contained in:
Luke Parker
2022-10-15 23:21:43 -04:00
parent f50148d17a
commit 65664dafa4
9 changed files with 119 additions and 42 deletions

View File

@@ -112,6 +112,6 @@ async fn test_send<C: Coin + Clone>(coin: C, fee: C::Fee) {
#[tokio::test]
async fn monero() {
let monero = Monero::new("http://127.0.0.1:18081".to_string()).await;
let fee = monero.rpc.get_fee().await.unwrap();
let fee = monero.get_fee().await;
test_send(monero, fee).await;
}