mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +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,
|
&spendable_outputs,
|
||||||
)
|
)
|
||||||
.await
|
.await
|
||||||
.map_err(|_| NetworkError::ConnectionError)
|
.map_err(|_| NetworkError::ConnectionError)?;
|
||||||
.unwrap();
|
|
||||||
|
|
||||||
let inputs = spendable_outputs.into_iter().zip(decoys).collect::<Vec<_>>();
|
let inputs = spendable_outputs.into_iter().zip(decoys).collect::<Vec<_>>();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user