Skip to content

Commit

Permalink
Add missing unwap to processor's test fn
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed Jan 6, 2024
1 parent 1ba2d8d commit 3aa8007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processor/src/networks/monero.rs
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ impl Network for Monero {

#[cfg(test)]
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)]
Expand Down

0 comments on commit 3aa8007

Please sign in to comment.