mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-07 16:14:26 +01:00
psbt: mark psbt arg as const for psbt_compute_fee
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user