Skip to content

Commit ae701a0

Browse files
committed
Expose CoinSelection struct members
These are meant to be provided by the user, so they need to be exposed in the API.
1 parent a100ed0 commit ae701a0

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
@@ -361,12 +361,12 @@ impl Utxo {
361361
pub struct CoinSelection {
362362
/// The set of UTXOs (with at least 1 confirmation) to spend and use within a transaction
363363
/// requiring additional fees.
364-
confirmed_utxos: Vec<Utxo>,
364+
pub confirmed_utxos: Vec<Utxo>,
365365
/// An additional output tracking whether any change remained after coin selection. This output
366366
/// should always have a value above dust for its given `script_pubkey`. It should not be
367367
/// spent until the transaction it belongs to confirms to ensure mempool descendant limits are
368368
/// not met. This implies no other party should be able to spend it except us.
369-
change_output: Option<TxOut>,
369+
pub change_output: Option<TxOut>,
370370
}
371371

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

0 commit comments

Comments
 (0)