Fixed spaces

This commit is contained in:
MoneroOcean
2018-03-24 22:00:21 +01:00
parent 3aeec9d9de
commit 51fb2361ec

View File

@@ -650,15 +650,15 @@ namespace cryptonote
if (!get_block_hashing_blob(b, blob))
return false;
if (BLOCK_MAJOR_VERSION_2 <= b.major_version)
{
blobdata parent_blob;
auto sbb = make_serializable_bytecoin_block(b, true, false);
if (!t_serializable_object_to_blob(sbb, parent_blob))
return false;
if (BLOCK_MAJOR_VERSION_2 <= b.major_version)
{
blobdata parent_blob;
auto sbb = make_serializable_bytecoin_block(b, true, false);
if (!t_serializable_object_to_blob(sbb, parent_blob))
return false;
blob.append(parent_blob);
}
blob.append(parent_blob);
}
return get_object_hash(blob, res);
}