mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Don't unwrap result of call which makes network requests
This commit is contained in:
@@ -438,8 +438,7 @@ impl Network for Monero {
|
||||
&spendable_outputs,
|
||||
)
|
||||
.await
|
||||
.map_err(|_| NetworkError::ConnectionError)
|
||||
.unwrap();
|
||||
.map_err(|_| NetworkError::ConnectionError)?;
|
||||
|
||||
let inputs = spendable_outputs.into_iter().zip(decoys).collect::<Vec<_>>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user