Skip to content

Commit 03b5933

Browse files
committed
f unused
1 parent 1c9a342 commit 03b5933

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lightning/src/chain/channelmonitor.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4120,7 +4120,6 @@ mod tests {
41204120
let fee_estimator = TestFeeEstimator { sat_per_kw: Mutex::new(253) };
41214121

41224122
let dummy_key = PublicKey::from_secret_key(&secp_ctx, &SecretKey::from_slice(&[42; 32]).unwrap());
4123-
let dummy_tx = Transaction { version: 0, lock_time: PackedLockTime::ZERO, input: Vec::new(), output: Vec::new() };
41244123

41254124
let mut preimages = Vec::new();
41264125
{
@@ -4210,7 +4209,6 @@ mod tests {
42104209
HolderCommitmentTransaction::dummy(), best_block, dummy_key);
42114210

42124211
monitor.provide_latest_holder_commitment_tx(HolderCommitmentTransaction::dummy(), preimages_to_holder_htlcs!(preimages[0..10])).unwrap();
4213-
let dummy_txid = dummy_tx.txid();
42144212
monitor.provide_latest_counterparty_commitment_tx(Txid::from_inner(Sha256::hash(b"1").into_inner()),
42154213
preimages_slice_to_htlc_outputs!(preimages[5..15]), 281474976710655, dummy_key, &logger);
42164214
monitor.provide_latest_counterparty_commitment_tx(Txid::from_inner(Sha256::hash(b"2").into_inner()),

0 commit comments

Comments
 (0)