mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-22 19:49:22 +00:00
Add missing unwap to processor's test fn
This commit is contained in:
parent
1ba2d8d832
commit
3aa8007700
1 changed files with 1 additions and 1 deletions
|
@ -692,7 +692,7 @@ impl Network for Monero {
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
async fn get_block_number(&self, id: &[u8; 32]) -> usize {
|
async fn get_block_number(&self, id: &[u8; 32]) -> usize {
|
||||||
self.rpc.get_block(*id).await.unwrap().number().try_into().unwrap()
|
self.rpc.get_block(*id).await.unwrap().number().unwrap().try_into().unwrap()
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
|
|
Loading…
Reference in a new issue