Fixed cppcheck error
This commit is contained in:
@@ -301,7 +301,7 @@ void MergeMiningClientJSON_RPC::submit_solution(const BlockTemplate* /*block_tpl
|
|||||||
<< ",\"merkle_proof\":[";
|
<< ",\"merkle_proof\":[";
|
||||||
|
|
||||||
for (size_t i = 0, n = merkle_proof.size(); i < n; ++i) {
|
for (size_t i = 0, n = merkle_proof.size(); i < n; ++i) {
|
||||||
if (i > 0) {
|
if (i != 0) {
|
||||||
s << ',';
|
s << ',';
|
||||||
}
|
}
|
||||||
s << '"' << merkle_proof[i] << '"';
|
s << '"' << merkle_proof[i] << '"';
|
||||||
|
|||||||
Reference in New Issue
Block a user