mirror of
https://github.com/serai-dex/serai.git
synced 2025-03-21 06:38:56 +00:00
Don't unwrap result of call which makes network requests
This commit is contained in:
parent
f25f5cd368
commit
1d9e2efc33
1 changed files with 1 additions and 2 deletions
|
@ -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<_>>();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue