From 7969f61ab3bef62ea01809029aad9365f507f101 Mon Sep 17 00:00:00 2001 From: niftynei Date: Thu, 21 May 2020 14:49:14 -0500 Subject: [PATCH] tx: update comment Make comment a bit more descriptive / usefu --- bitcoin/tx.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bitcoin/tx.h b/bitcoin/tx.h index 1edecc229..fdbd8f8da 100644 --- a/bitcoin/tx.h +++ b/bitcoin/tx.h @@ -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. * - * This is needed for cases where the input_amounts aren't properly initialized, - * typically due to being passed across the wire. + * This is needed for cases where the transaction's psbt metadata isn't properly filled + * 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 input_val);