Browse Source

psbt: rename append_out -> append_output

bump-pyln-proto
niftynei 4 years ago
committed by Rusty Russell
parent
commit
2f9a37de4a
  1. 2
      bitcoin/psbt.c
  2. 2
      bitcoin/psbt.h

2
bitcoin/psbt.c

@ -144,7 +144,7 @@ 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,
struct wally_psbt_output *psbt_append_output(struct wally_psbt *psbt,
const u8 *script,
struct amount_sat amount)
{

2
bitcoin/psbt.h

@ -92,7 +92,7 @@ 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,
struct wally_psbt_output *psbt_append_output(struct wally_psbt *psbt,
const u8 *script,
struct amount_sat amount);

Loading…
Cancel
Save