Skip to content

Commit

Permalink
fixed a bug where musig urls where not set properl
Browse files Browse the repository at this point in the history
  • Loading branch information
jbentke committed Jun 14, 2021
1 parent 7dead44 commit 68237ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c/src/pay/zksync/zksync.c
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ static in3_ret_t config_set(zksync_config_t* conf, in3_configure_ctx_t* ctx) {
conf->musig_urls = _calloc(d_len(urls), sizeof(char*));
for (int i = 0; i < d_len(urls); i++) {
char* s = d_get_string_at(urls, i);
if (s) conf->musig_urls[i] = _strdupn(s, -1);
if (s && strlen(s)) conf->musig_urls[i] = _strdupn(s, -1);
}
}
}
Expand Down

0 comments on commit 68237ed

Please sign in to comment.