Skip to content

Commit

Permalink
Uncrustify missed sources file
Browse files Browse the repository at this point in the history
  • Loading branch information
jgriffiths committed Oct 30, 2018
1 parent 3efee42 commit 85596bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ctest/test_elements_tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ static bool tx_pegin(const char *tx_hex, const char **tx_pegin_wit_hex, size_t n
{
struct wally_tx *tx;
struct wally_tx_input *in;
struct wally_tx_witness_stack* pegin_wit;
struct wally_tx_witness_stack *pegin_wit;
struct wally_tx_witness_item *item;
char *new_hex;
const uint32_t flags = WALLY_TX_FLAG_USE_WITNESS | WALLY_TX_FLAG_USE_ELEMENTS;
Expand Down
4 changes: 2 additions & 2 deletions src/transaction.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ static bool is_valid_tx_input(const struct wally_tx_input *input)
BYTES_VALID(input->script, input->script_len) &&
(!input->witness || is_valid_witness_stack(input->witness))
#ifdef BUILD_ELEMENTS
&& (!input->pegin_witness || is_valid_witness_stack(input->pegin_witness))
&& (!input->pegin_witness || is_valid_witness_stack(input->pegin_witness))
#endif
;
;
}

static bool is_valid_tx_output(const struct wally_tx_output *output)
Expand Down

0 comments on commit 85596bc

Please sign in to comment.