Added json parser tests

This commit is contained in:
SChernykh
2022-06-20 10:50:30 +02:00
parent 56c239a368
commit acf37ff10f
3 changed files with 64 additions and 1 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ struct parse_wrapper<T, difficulty_type>
if (!from_hex(s[i], d)) {
return false;
}
out_value.hi = (out_value.hi << 4) || (out_value.lo >> 60);
out_value.hi = (out_value.hi << 4) | (out_value.lo >> 60);
out_value.lo = (out_value.lo << 4) | d;
}