Import anyhow::Result across the codebase

There is no need to fully qualify this type because it is a type
alias for std::Result. We can mix and match the two as we want.
This commit is contained in:
Thomas Eizinger 2021-02-19 17:00:45 +11:00 committed by Daniel Karzel
parent 519d1a5701
commit b47b06aa23
11 changed files with 21 additions and 17 deletions

View file

@ -84,7 +84,7 @@ pub struct TestContext {
alice_starting_balances: StartingBalances,
alice_bitcoin_wallet: Arc<bitcoin::Wallet>,
alice_monero_wallet: Arc<monero::Wallet>,
alice_swap_handle: mpsc::Receiver<RemoteHandle<anyhow::Result<AliceState>>>,
alice_swap_handle: mpsc::Receiver<RemoteHandle<Result<AliceState>>>,
bob_params: BobParams,
bob_starting_balances: StartingBalances,