Testing fix
This commit is contained in:
+3
-3
@@ -87,7 +87,7 @@ NAN_METHOD(convert_blob) {
|
||||
|
||||
//convert
|
||||
block b = AUTO_VAL_INIT(b);
|
||||
b.blob_type = blob_type;
|
||||
//b.blob_type = blob_type;
|
||||
if (!parse_and_validate_block_from_blob(input, b)) return THROW_ERROR_EXCEPTION("Failed to parse block");
|
||||
|
||||
if (b.major_version == BLOCK_MAJOR_VERSION_2 || b.major_version == BLOCK_MAJOR_VERSION_3) {
|
||||
@@ -118,7 +118,7 @@ NAN_METHOD(get_block_id) {
|
||||
}
|
||||
|
||||
block b = AUTO_VAL_INIT(b);
|
||||
b.blob_type = blob_type;
|
||||
//b.blob_type = blob_type;
|
||||
if (!parse_and_validate_block_from_blob(input, b)) return THROW_ERROR_EXCEPTION("Failed to parse block");
|
||||
|
||||
crypto::hash block_id;
|
||||
@@ -149,7 +149,7 @@ NAN_METHOD(construct_block_blob) {
|
||||
}
|
||||
|
||||
block b = AUTO_VAL_INIT(b);
|
||||
b.blob_type = blob_type;
|
||||
//b.blob_type = blob_type;
|
||||
if (!parse_and_validate_block_from_blob(block_template_blob, b)) return THROW_ERROR_EXCEPTION("Failed to parse block");
|
||||
|
||||
b.nonce = nonce;
|
||||
|
||||
Reference in New Issue
Block a user