ci: cargo fmt

This commit is contained in:
Georgios Konstantopoulos 2020-06-17 16:36:09 +03:00
parent 4fd656bce1
commit 771c55175f
No known key found for this signature in database
GPG Key ID: FA607837CD26EDBC
1 changed files with 8 additions and 2 deletions

View File

@ -8,7 +8,10 @@ use std::convert::TryFrom;
#[cfg(not(feature = "celo"))]
mod eth_tests {
use super::*;
use ethers::{types::BlockNumber, utils::{parse_ether, Ganache}};
use ethers::{
types::BlockNumber,
utils::{parse_ether, Ganache},
};
#[tokio::test]
async fn pending_txs_with_confirmations_rinkeby_infura() {
@ -25,7 +28,10 @@ mod eth_tests {
.connect(provider);
let tx = TransactionRequest::pay(client.address(), parse_ether(1u64).unwrap());
let pending_tx = client.send_transaction(tx, Some(BlockNumber::Pending)).await.unwrap();
let pending_tx = client
.send_transaction(tx, Some(BlockNumber::Pending))
.await
.unwrap();
let hash = *pending_tx;
let receipt = pending_tx.confirmations(3).await.unwrap();