Skip to content

Commit

Permalink
more stricker code
Browse files Browse the repository at this point in the history
  • Loading branch information
SWvheerden committed Jan 18, 2024
1 parent 792dbd2 commit a07ce09
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions integration_tests/tests/steps/wallet_steps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ async fn have_wallet_connect_to_seed_node(world: &mut TariWorld, wallet: String,

#[when(expr = "wallet {word} detects all transactions as {word}")]
#[then(expr = "wallet {word} detects all transactions as {word}")]
async fn wallet_detects_all_txs_as_mined_confirmed(world: &mut TariWorld, wallet_name: String, status: String) {
async fn wallet_detects_all_txs_as_mined_status(world: &mut TariWorld, wallet_name: String, status: String) {
let mut client = create_wallet_client(world, wallet_name.clone()).await.unwrap();

let mut completed_tx_stream = client
Expand Down Expand Up @@ -239,11 +239,6 @@ async fn wallet_detects_all_txs_as_mined_confirmed(world: &mut TariWorld, wallet
_ => (),
},
"Coinbase" => match tx_info.status() {
grpc::TransactionStatus::Pending |
grpc::TransactionStatus::Completed |
grpc::TransactionStatus::Broadcast |
grpc::TransactionStatus::MinedUnconfirmed |
grpc::TransactionStatus::MinedConfirmed |
grpc::TransactionStatus::CoinbaseConfirmed |
grpc::TransactionStatus::CoinbaseUnconfirmed => {
break;
Expand Down

0 comments on commit a07ce09

Please sign in to comment.