mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-01 17:47:30 +01:00
tx: update comment
Make comment a bit more descriptive / usefu
This commit is contained in:
parent
dc868630a8
commit
7969f61ab3
1 changed files with 2 additions and 2 deletions
|
@ -193,8 +193,8 @@ struct amount_sat bitcoin_tx_compute_fee(const struct bitcoin_tx *tx);
|
||||||
/*
|
/*
|
||||||
* Calculate the fees for this transaction, given a pre-computed input balance.
|
* Calculate the fees for this transaction, given a pre-computed input balance.
|
||||||
*
|
*
|
||||||
* This is needed for cases where the input_amounts aren't properly initialized,
|
* This is needed for cases where the transaction's psbt metadata isn't properly filled
|
||||||
* typically due to being passed across the wire.
|
* in typically due to being instantiated from a tx hex (i.e. from a block scan)
|
||||||
*/
|
*/
|
||||||
struct amount_sat bitcoin_tx_compute_fee_w_inputs(const struct bitcoin_tx *tx,
|
struct amount_sat bitcoin_tx_compute_fee_w_inputs(const struct bitcoin_tx *tx,
|
||||||
struct amount_sat input_val);
|
struct amount_sat input_val);
|
||||||
|
|
Loading…
Add table
Reference in a new issue