mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 12:49:23 +00:00
Cache the cost to aggregate
This commit is contained in:
@@ -141,7 +141,7 @@ pub trait ScannerFeed: 'static + Send + Sync + Clone {
|
||||
async fn cost_to_aggregate(
|
||||
&self,
|
||||
coin: Coin,
|
||||
block_number: u64,
|
||||
reference_block: &Self::Block,
|
||||
) -> Result<Amount, Self::EphemeralError>;
|
||||
|
||||
/// The dust threshold for the specified coin.
|
||||
|
||||
Reference in New Issue
Block a user