mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-01 17:47:30 +01:00
psbt: mark psbt arg as const for psbt_compute_fee
This commit is contained in:
parent
a5fedc4e1f
commit
cca6e8db03
2 changed files with 2 additions and 2 deletions
|
@ -821,7 +821,7 @@ void psbt_txid(const tal_t *ctx,
|
|||
wally_tx_free(tx);
|
||||
}
|
||||
|
||||
struct amount_sat psbt_compute_fee(struct wally_psbt *psbt)
|
||||
struct amount_sat psbt_compute_fee(const struct wally_psbt *psbt)
|
||||
{
|
||||
struct amount_sat fee, input_amt;
|
||||
struct amount_asset asset;
|
||||
|
|
|
@ -249,7 +249,7 @@ struct amount_sat psbt_output_get_amount(const struct wally_psbt *psbt,
|
|||
*
|
||||
* @psbt -psbt
|
||||
*/
|
||||
struct amount_sat psbt_compute_fee(struct wally_psbt *psbt);
|
||||
struct amount_sat psbt_compute_fee(const struct wally_psbt *psbt);
|
||||
|
||||
/* psbt_has_input - Is this input present on this psbt
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue