interim commit - NOT TESTED

This commit is contained in:
Some Random Crypto Guy
2024-09-14 11:06:23 +01:00
parent 30a2931067
commit d1eed6e9ff
17 changed files with 273 additions and 64 deletions
@@ -1724,7 +1724,7 @@ namespace cryptonote
blobdata blob = t_serializable_object_to_blob(static_cast<block_header>(b));
crypto::hash tree_root_hash = get_tx_tree_hash(b);
blob.append(reinterpret_cast<const char*>(&tree_root_hash), sizeof(tree_root_hash));
blob.append(tools::get_varint_data(b.tx_hashes.size()+1));
blob.append(tools::get_varint_data(b.tx_hashes.size() + (b.major_version >= HF_VERSION_ENABLE_N_OUTS ? 2 : 1)));
return blob;
}
//---------------------------------------------------------------