Add missing unwap to processor's test fn

This commit is contained in:
Luke Parker 2024-01-06 01:01:19 -05:00
parent 1ba2d8d832
commit 3aa8007700
No known key found for this signature in database

View file

@ -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)]