From 2f9a37de4afa15681df33c508a07946d40ad75af Mon Sep 17 00:00:00 2001 From: niftynei Date: Tue, 4 Aug 2020 12:34:21 -0500 Subject: [PATCH] psbt: rename append_out -> append_output --- bitcoin/psbt.c | 6 +++--- bitcoin/psbt.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bitcoin/psbt.c b/bitcoin/psbt.c index 1a04f9a67..c2a2c73f4 100644 --- a/bitcoin/psbt.c +++ b/bitcoin/psbt.c @@ -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); diff --git a/bitcoin/psbt.h b/bitcoin/psbt.h index 26a3b29eb..effd9fac0 100644 --- a/bitcoin/psbt.h +++ b/bitcoin/psbt.h @@ -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);