Skip to content

Commit

Permalink
Fix incorrect sizeof
Browse files Browse the repository at this point in the history
  • Loading branch information
bigspider committed Oct 28, 2024
1 parent a82474a commit 193ff56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handler/lib/policy.c
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@ __attribute__((warn_unused_result)) static int process_multi_a_sortedmulti_a_nod

// bitvector of used keys (only relevant for sorting keys in SORTEDMULTI)
uint8_t used[BITVECTOR_REAL_SIZE(MAX_PUBKEYS_PER_MULTISIG)];
memset(used, 0, sizeof(memset));
memset(used, 0, sizeof(used));

for (int i = 0; i < policy->n; i++) {
uint8_t compressed_pubkey[33];
Expand Down

0 comments on commit 193ff56

Please sign in to comment.