Skip to content

Commit

Permalink
Make Could not fetch new template more informative
Browse files Browse the repository at this point in the history
Helps with debugging typos in the config
  • Loading branch information
jesterhodl committed Oct 20, 2024
1 parent fbbffc1 commit 4a838e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datum_blocktemplates.c
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ void *datum_gateway_template_thread(void *args) {
gbt = json_rpc_call(tcurl, datum_config.bitcoind_rpcurl, userpass, gbt_req);

if (!gbt) {
DLOG_ERROR("Could not fetch new template!");
DLOG_ERROR("Could not fetch new template from %s!", datum_config.bitcoind_rpcurl);
sleep(1);
continue;
} else {
Expand Down

0 comments on commit 4a838e3

Please sign in to comment.