mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Update dockertests to new serai-client
This commit is contained in:
@@ -287,6 +287,7 @@ impl Serai {
|
||||
.map_err(SeraiError::RpcError)
|
||||
}
|
||||
|
||||
/// Create a TemporalSerai using whatever is currently the latest block.
|
||||
pub async fn with_current_latest_block(&self) -> Result<TemporalSerai, SeraiError> {
|
||||
let latest = self.latest_block_hash().await?;
|
||||
Ok(TemporalSerai(self, latest))
|
||||
|
||||
Reference in New Issue
Block a user