Added SAL support
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "cryptoforknote-util",
|
"name": "cryptoforknote-util",
|
||||||
"version": "15.5.13",
|
"version": "15.5.14",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "LucasJones",
|
"name": "LucasJones",
|
||||||
"email": "lucasjonesdev@hotmail.co.uk"
|
"email": "lucasjonesdev@hotmail.co.uk"
|
||||||
|
|||||||
@@ -287,11 +287,7 @@ namespace cryptonote
|
|||||||
}
|
}
|
||||||
crypto::hash tree_root_hash = get_tx_tree_hash(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(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()+1));
|
||||||
blob.append(tools::get_varint_data(b.tx_hashes.size()+2));
|
|
||||||
} else {
|
|
||||||
blob.append(tools::get_varint_data(b.tx_hashes.size()+1));
|
|
||||||
}
|
|
||||||
if (b.blob_type == BLOB_TYPE_CRYPTONOTE3) {
|
if (b.blob_type == BLOB_TYPE_CRYPTONOTE3) {
|
||||||
blob.append(reinterpret_cast<const char*>(&b.uncle), sizeof(b.uncle));
|
blob.append(reinterpret_cast<const char*>(&b.uncle), sizeof(b.uncle));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user