Skip to content

Commit 98bb5b1

Browse files
committed
Remove redundant code from test
1 parent c307c7c commit 98bb5b1

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

integration_test/tests/raw_transactions.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,6 @@ fn raw_transactions__get_raw_transaction__modelled() {
326326
let (_, tx) = node.create_mined_transaction();
327327
let json: GetRawTransaction =
328328
node.client.get_raw_transaction(tx.compute_txid()).expect("getrawtransaction");
329-
println!("json: {:#?}", json);
330329
let model: Result<mtype::GetRawTransaction, _> = json.into_model();
331330
model.expect("GetRawTransaction into model");
332331

integration_test/tests/wallet.rs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -312,16 +312,7 @@ fn wallet__import_address() {
312312

313313
#[test]
314314
fn wallet__import_pruned_funds() {
315-
let node = match () {
316-
#[cfg(feature = "v22_and_below")]
317-
() => Node::with_wallet(Wallet::Default, &["-txindex"]),
318-
#[cfg(not(feature = "v22_and_below"))]
319-
() => {
320-
let node = Node::with_wallet(Wallet::None, &["-deprecatedrpc=create_bdb", "-txindex"]);
321-
node.client.create_legacy_wallet("wallet_name").expect("createlegacywallet");
322-
node
323-
}
324-
};
315+
let node = Node::with_wallet(Wallet::Default, &["-txindex"]);
325316
node.fund_wallet();
326317

327318
let (_, tx) = node.create_mined_transaction();

0 commit comments

Comments
 (0)