Skip to content

Commit

Permalink
Add template id to NewTemplate log message
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjors committed Mar 1, 2024
1 parent 7196495 commit b171a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/sv2_template_provider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ bool Sv2TemplateProvider::SendWork(Sv2Client& client, bool send_new_prevhash)
}
if (!send_new_prevhash && client.m_latest_submitted_template_fees + m_minimum_fee_delta > fees) return true;

LogPrintLevel(BCLog::SV2, BCLog::Level::Debug, "Send 0x71 NewTemplate to client id=%zu\n", client.m_id);
LogPrintLevel(BCLog::SV2, BCLog::Level::Debug, "Send 0x71 NewTemplate id=%lu to client id=%zu\n", m_template_id, client.m_id);
client.m_send_messages.emplace_back(new_work_set.new_template);

if (send_new_prevhash) {
Expand Down

0 comments on commit b171a79

Please sign in to comment.