mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-11 13:24:42 +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,
|
||||
)
|
||||
.await
|
||||
.map_err(|_| NetworkError::ConnectionError)
|
||||
.unwrap();
|
||||
.map_err(|_| NetworkError::ConnectionError)?;
|
||||
|
||||
let inputs = spendable_outputs.into_iter().zip(decoys).collect::<Vec<_>>();
|
||||
|
||||
|
|
Loading…
Reference in a new issue