Skip to content

Commit 07b0db3

Browse files
committed
Expose CoinSelection struct members
1 parent e0567ad commit 07b0db3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/events/bump_transaction.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,12 +359,12 @@ impl Utxo {
359359
pub struct CoinSelection {
360360
/// The set of UTXOs (with at least 1 confirmation) to spend and use within a transaction
361361
/// requiring additional fees.
362-
confirmed_utxos: Vec<Utxo>,
362+
pub confirmed_utxos: Vec<Utxo>,
363363
/// An additional output tracking whether any change remained after coin selection. This output
364364
/// should always have a value above dust for its given `script_pubkey`. It should not be
365365
/// spent until the transaction it belongs to confirms to ensure mempool descendant limits are
366366
/// not met. This implies no other party should be able to spend it except us.
367-
change_output: Option<TxOut>,
367+
pub change_output: Option<TxOut>,
368368
}
369369

370370
/// An abstraction over a bitcoin wallet that can perform coin selection over a set of UTXOs and can

0 commit comments

Comments
 (0)