From 2bd97d53f651dfd1513d4a277c216d2a680ff703 Mon Sep 17 00:00:00 2001 From: Petar Mitchev Date: Fri, 22 Apr 2016 06:20:17 +0300 Subject: [PATCH] Because fuck logic --- src/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cc b/src/main.cc index c581ca8..c3062a1 100644 --- a/src/main.cc +++ b/src/main.cc @@ -125,7 +125,7 @@ NAN_METHOD(convert_blob_fa) { if (!parse_and_validate_block_from_blob(input, b)) 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)) return THROW_ERROR_EXCEPTION("Failed to create mining block"); } else {