Skip to content

Commit c55875d

Browse files
committed
chore: bump rust-toolchain to 1.95.0
Clean up unused code in `test_get_funded_wallet_sent_and_received`.
1 parent ed044de commit c55875d

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
2-
channel = "1.94.0"
2+
channel = "1.95.0"
33
components = ["clippy", "rustfmt"]

tests/wallet.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,6 @@ fn test_get_funded_wallet_balance() {
8282
fn test_get_funded_wallet_sent_and_received() {
8383
let (wallet, txid) = get_funded_wallet_wpkh();
8484

85-
let mut tx_amounts: Vec<(Txid, (Amount, Amount))> = wallet
86-
.transactions()
87-
.map(|ct| (ct.tx_node.txid, wallet.sent_and_received(&ct.tx_node)))
88-
.collect();
89-
tx_amounts.sort_by(|a1, a2| a1.0.cmp(&a2.0));
90-
9185
let tx = wallet.get_tx(txid).expect("transaction").tx_node.tx;
9286
let (sent, received) = wallet.sent_and_received(&tx);
9387

0 commit comments

Comments
 (0)