Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Rjected committed Apr 10, 2022
1 parent 9d21591 commit 7823f47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ethers-contract/tests/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,8 @@ mod eth_tests {
.expect("failed to instantiate provider from ganache endpoint")
.interval(Duration::from_millis(10u64));

let client = SignerMiddleware::new_with_provider_chain(provider, wallet.clone()).await.unwrap();
let client =
SignerMiddleware::new_with_provider_chain(provider, wallet.clone()).await.unwrap();
let client = Arc::new(client);

let factory = ContractFactory::new(abi.clone(), bytecode.clone(), client.clone());
Expand Down
3 changes: 2 additions & 1 deletion ethers-middleware/tests/signer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ async fn send_transaction_handles_tx_from_field() {

// connect to the network
let provider = Provider::try_from(ganache.endpoint()).unwrap();
let provider = SignerMiddleware::new_with_provider_chain(provider, signer.clone()).await.unwrap();
let provider =
SignerMiddleware::new_with_provider_chain(provider, signer.clone()).await.unwrap();

// sending a TransactionRequest with a from field of None should result
// in a transaction from the signer address
Expand Down

0 comments on commit 7823f47

Please sign in to comment.