Skip to content

Commit 126ac50

Browse files
committed
use Vec from alloc rather than the crate prelude
This avoids confusing the bindings generator.
1 parent 8eabcc1 commit 126ac50

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning/src/ln/funding.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@
99

1010
//! Types pertaining to funding channels.
1111
12+
use alloc::vec::Vec;
13+
1214
use bitcoin::{Amount, ScriptBuf, SignedAmount, TxOut};
1315
use bitcoin::{Script, Sequence, Transaction, Weight};
1416

1517
use crate::events::bump_transaction::Utxo;
1618
use crate::ln::chan_utils::EMPTY_SCRIPT_SIG_WEIGHT;
17-
use crate::prelude::Vec;
1819
use crate::sign::{P2TR_KEY_PATH_WITNESS_WEIGHT, P2WPKH_WITNESS_WEIGHT};
1920

2021
/// The components of a splice's funding transaction that are contributed by one party.

0 commit comments

Comments
 (0)