mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Drastically increase placeholder fee for Monero
Needed for Docker tests.
This commit is contained in:
@@ -151,7 +151,7 @@ impl BlockTrait<Monero> for Block {
|
|||||||
|
|
||||||
fn median_fee(&self) -> Fee {
|
fn median_fee(&self) -> Fee {
|
||||||
// TODO
|
// TODO
|
||||||
Fee { per_weight: 80000, mask: 10000 }
|
Fee { per_weight: 10000000, mask: 10000 }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -554,7 +554,7 @@ impl Coin for Monero {
|
|||||||
async fn get_fee(&self) -> Self::Fee {
|
async fn get_fee(&self) -> Self::Fee {
|
||||||
use monero_serai::wallet::FeePriority;
|
use monero_serai::wallet::FeePriority;
|
||||||
|
|
||||||
self.rpc.get_fee(self.rpc.get_protocol().await.unwrap(), FeePriority::Highest).await.unwrap()
|
self.rpc.get_fee(self.rpc.get_protocol().await.unwrap(), FeePriority::Low).await.unwrap()
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
|
|||||||
Reference in New Issue
Block a user