Compare commits

...

1 Commits

Author SHA1 Message Date
MoneroOcean 5afa141942 Added SAL support 2024-07-20 19:11:34 +03:00
2 changed files with 2 additions and 6 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "cryptoforknote-util",
"version": "15.5.13",
"version": "15.5.14",
"author": {
"name": "LucasJones",
"email": "lucasjonesdev@hotmail.co.uk"
@@ -287,11 +287,7 @@ namespace cryptonote
}
crypto::hash tree_root_hash = get_tx_tree_hash(b);
blob.append(reinterpret_cast<const char*>(&tree_root_hash), sizeof(tree_root_hash));
if (b.blob_type == BLOB_TYPE_CRYPTONOTE_SALVIUM) {
blob.append(tools::get_varint_data(b.tx_hashes.size()+2));
} else {
blob.append(tools::get_varint_data(b.tx_hashes.size()+1));
}
blob.append(tools::get_varint_data(b.tx_hashes.size()+1));
if (b.blob_type == BLOB_TYPE_CRYPTONOTE3) {
blob.append(reinterpret_cast<const char*>(&b.uncle), sizeof(b.uncle));
}