Fix: don't call update_block_template twice

This commit is contained in:
SChernykh
2024-05-22 15:27:23 +02:00
parent fb9ade7e9f
commit 5e7d48e70c
2 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -255,7 +255,7 @@ void MergeMiningClientTari::submit_solution(const BlockTemplate* block_tpl, cons
}
else {
const std::string& h = response.block_hash();
LOGINFO(3, log::LightGreen() << "Mined Tari block " << log::hex_buf(h.data(), h.size()));
LOGINFO(0, log::LightGreen() << "Mined Tari block " << log::hex_buf(h.data(), h.size()) << " at height " << block.header().height());
}
}