psbt: rename append_out -> append_output

This commit is contained in:
niftynei 2020-08-04 12:34:21 -05:00 committed by Rusty Russell
parent eef762cc09
commit 2f9a37de4a
2 changed files with 6 additions and 6 deletions

View File

@ -144,9 +144,9 @@ struct wally_psbt_output *psbt_add_output(struct wally_psbt *psbt,
return &psbt->outputs[insert_at];
}
struct wally_psbt_output *psbt_append_out(struct wally_psbt *psbt,
const u8 *script,
struct amount_sat amount)
struct wally_psbt_output *psbt_append_output(struct wally_psbt *psbt,
const u8 *script,
struct amount_sat amount)
{
struct wally_psbt_output *out;
struct wally_tx_output *tx_out = wally_tx_output(script, amount);

View File

@ -92,9 +92,9 @@ struct wally_psbt_output *psbt_add_output(struct wally_psbt *psbt,
* @script - scriptPubKey of the output
* @amount - value of the output
*/
struct wally_psbt_output *psbt_append_out(struct wally_psbt *psbt,
const u8 *script,
struct amount_sat amount);
struct wally_psbt_output *psbt_append_output(struct wally_psbt *psbt,
const u8 *script,
struct amount_sat amount);
void psbt_rm_output(struct wally_psbt *psbt,
size_t remove_at);