Because fuck logic
parent
268a421e7e
commit
2bd97d53f6
|
@ -125,7 +125,7 @@ NAN_METHOD(convert_blob_fa) {
|
||||||
if (!parse_and_validate_block_from_blob(input, b))
|
if (!parse_and_validate_block_from_blob(input, b))
|
||||||
return THROW_ERROR_EXCEPTION("Failed to parse block");
|
return THROW_ERROR_EXCEPTION("Failed to parse block");
|
||||||
|
|
||||||
if (b.major_version < BLOCK_MAJOR_VERSION_3) {
|
if (b.major_version < BLOCK_MAJOR_VERSION_2) {
|
||||||
if (!get_block_hashing_blob(b, output))
|
if (!get_block_hashing_blob(b, output))
|
||||||
return THROW_ERROR_EXCEPTION("Failed to create mining block");
|
return THROW_ERROR_EXCEPTION("Failed to create mining block");
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue