@@ -2183,19 +2183,19 @@ fn do_test_claimable_balance_correct_while_payment_pending(outbound_payment: boo
2183
2183
] ,
2184
2184
} ;
2185
2185
if anchors {
2186
- nodes[ 0 ] . wallet_source . add_utxo ( bitcoin:: OutPoint { txid : coinbase_tx. txid ( ) , vout : 0 } , coinbase_tx. output [ 0 ] . value ) ;
2187
- nodes[ 1 ] . wallet_source . add_utxo ( bitcoin:: OutPoint { txid : coinbase_tx. txid ( ) , vout : 1 } , coinbase_tx. output [ 1 ] . value ) ;
2186
+ nodes[ 0 ] . wallet_source . add_utxo ( bitcoin:: OutPoint { txid : coinbase_tx. compute_txid ( ) , vout : 0 } , coinbase_tx. output [ 0 ] . value ) ;
2187
+ nodes[ 1 ] . wallet_source . add_utxo ( bitcoin:: OutPoint { txid : coinbase_tx. compute_txid ( ) , vout : 1 } , coinbase_tx. output [ 1 ] . value ) ;
2188
2188
}
2189
2189
2190
2190
// Create a channel from A -> B
2191
2191
let ( _, _, chan_ab_id, funding_tx_ab) =
2192
2192
create_announced_chan_between_nodes_with_value ( & nodes, 0 , 1 , 1_000_000 /* channel_value (sat) */ , 0 /* push_msat */ ) ;
2193
- let funding_outpoint_ab = OutPoint { txid : funding_tx_ab. txid ( ) , index : 0 } ;
2193
+ let funding_outpoint_ab = OutPoint { txid : funding_tx_ab. compute_txid ( ) , index : 0 } ;
2194
2194
assert_eq ! ( ChannelId :: v1_from_funding_outpoint( funding_outpoint_ab) , chan_ab_id) ;
2195
2195
// Create a channel from B -> C
2196
2196
let ( _, _, chan_bc_id, funding_tx_bc) =
2197
2197
create_announced_chan_between_nodes_with_value ( & nodes, 1 , 2 , 1_000_000 /* channel_value (sat) */ , 0 /* push_msat */ ) ;
2198
- let funding_outpoint_bc = OutPoint { txid : funding_tx_bc. txid ( ) , index : 0 } ;
2198
+ let funding_outpoint_bc = OutPoint { txid : funding_tx_bc. compute_txid ( ) , index : 0 } ;
2199
2199
assert_eq ! ( ChannelId :: v1_from_funding_outpoint( funding_outpoint_bc) , chan_bc_id) ;
2200
2200
2201
2201
let ( chan_feerate, channel_type_features) = if outbound_payment {
0 commit comments