Skip to content

Commit a45f037

Browse files
committed
Fix more warnings.
1 parent 460689b commit a45f037

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/async_signer_tests.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ fn do_test_async_holder_signatures(anchors: bool, remote_commitment: bool) {
734734
if anchors {
735735
*nodes[0].fee_estimator.sat_per_kw.lock().unwrap() *= 2;
736736
*nodes[1].fee_estimator.sat_per_kw.lock().unwrap() *= 2;
737-
closing_node.wallet_source.add_utxo(bitcoin::OutPoint { txid: coinbase_tx.txid(), vout: 0 }, coinbase_tx.output[0].value);
737+
closing_node.wallet_source.add_utxo(bitcoin::OutPoint { txid: coinbase_tx.compute_txid(), vout: 0 }, coinbase_tx.output[0].value);
738738
}
739739

740740
// Route an HTLC and set the signer as unavailable.
@@ -773,7 +773,7 @@ fn do_test_async_holder_signatures(anchors: bool, remote_commitment: bool) {
773773
txn.remove(0)
774774
} else {
775775
assert_eq!(txn.len(), 2);
776-
if txn[0].input[0].previous_output.txid == funding_tx.txid() {
776+
if txn[0].input[0].previous_output.txid == funding_tx.compute_txid() {
777777
check_spends!(txn[0], funding_tx);
778778
check_spends!(txn[1], txn[0]);
779779
txn.remove(0)

0 commit comments

Comments
 (0)