Loki hack for mm
This commit is contained in:
@@ -334,7 +334,7 @@ NAN_METHOD(construct_mm_parent_block_blob) { // (parentBlockTemplate, blob_type,
|
|||||||
block b = AUTO_VAL_INIT(b);
|
block b = AUTO_VAL_INIT(b);
|
||||||
b.set_blob_type(blob_type);
|
b.set_blob_type(blob_type);
|
||||||
if (!parse_and_validate_block_from_blob(input, b)) return THROW_ERROR_EXCEPTION("construct_mm_parent_block_blob: Failed to parse prent block");
|
if (!parse_and_validate_block_from_blob(input, b)) return THROW_ERROR_EXCEPTION("construct_mm_parent_block_blob: Failed to parse prent block");
|
||||||
b.set_blob_type(BLOB_TYPE_CRYPTONOTE);
|
if (blob_type == BLOB_TYPE_CRYPTONOTE_LOKI) b.miner_tx.version = cryptonote::loki_version_0;
|
||||||
|
|
||||||
block b2 = AUTO_VAL_INIT(b2);
|
block b2 = AUTO_VAL_INIT(b2);
|
||||||
b2.set_blob_type(BLOB_TYPE_FORKNOTE2);
|
b2.set_blob_type(BLOB_TYPE_FORKNOTE2);
|
||||||
|
|||||||
Reference in New Issue
Block a user