Skip to content

Commit b898243

Browse files
committed
Run cargo fmt
For some reason `integration_test/src/main.rs` has formatting issues, no clue how this got past CI. Run `cargo fmt`.
1 parent 657eebd commit b898243

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

integration_test/src/main.rs

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ use bitcoin::hashes::hex::{FromHex, ToHex};
2727
use bitcoin::hashes::Hash;
2828
use bitcoin::secp256k1;
2929
use bitcoin::{
30-
Address, Amount, Network, OutPoint, PrivateKey, Script, EcdsaSighashType, SignedAmount, Transaction,
31-
TxIn, TxOut, Txid, Witness,
30+
Address, Amount, EcdsaSighashType, Network, OutPoint, PrivateKey, Script, SignedAmount,
31+
Transaction, TxIn, TxOut, Txid, Witness,
3232
};
3333
use bitcoincore_rpc::bitcoincore_rpc_json::{
3434
GetBlockTemplateModes, GetBlockTemplateRules, ScanTxOutRequest,
@@ -596,8 +596,9 @@ fn test_sign_raw_transaction_with_send_raw_transaction(cl: &Client) {
596596
}],
597597
};
598598

599-
let res =
600-
cl.sign_raw_transaction_with_key(&tx, &[sk], None, Some(EcdsaSighashType::All.into())).unwrap();
599+
let res = cl
600+
.sign_raw_transaction_with_key(&tx, &[sk], None, Some(EcdsaSighashType::All.into()))
601+
.unwrap();
601602
assert!(res.complete);
602603
let _ = cl.send_raw_transaction(&res.transaction().unwrap()).unwrap();
603604
}
@@ -1081,11 +1082,7 @@ fn test_add_ban(cl: &Client) {
10811082
let res = cl.list_banned().unwrap();
10821083
assert_eq!(res.len(), 0);
10831084

1084-
assert_error_message!(
1085-
cl.add_ban("INVALID_STRING", 0, false),
1086-
-30,
1087-
"Error: Invalid IP/Subnet"
1088-
);
1085+
assert_error_message!(cl.add_ban("INVALID_STRING", 0, false), -30, "Error: Invalid IP/Subnet");
10891086
}
10901087

10911088
fn test_set_network_active(cl: &Client) {

0 commit comments

Comments
 (0)