Skip to content

Commit 75f9ac5

Browse files
committed
lint code with rust 1.93.0
1 parent e6d1ed0 commit 75f9ac5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1177,8 +1177,8 @@ async fn open_channel_raw(
11771177
&& c.asset_id == asset_id.map(|id| id.to_string())
11781178
&& c.asset_local_amount == asset_amount
11791179
}) {
1180-
if channel.funding_txid.is_some() {
1181-
let txout = _get_txout(channel.funding_txid.as_ref().unwrap());
1180+
if let Some(txid) = &channel.funding_txid {
1181+
let txout = _get_txout(txid);
11821182
if !txout.is_empty() {
11831183
mine_n_blocks(false, 6);
11841184
channel_id = Some(channel.channel_id.clone());

0 commit comments

Comments
 (0)