Compare commits

...

2 Commits

Author SHA1 Message Date
MoneroOcean 9d722a83a3 Fixed raven block processing 2020-12-09 04:19:26 +00:00
MoneroOcean 16acb844d7 Fixed raven block processing 2020-12-09 04:19:15 +00:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ function hash256(buffer) {
function getMerkleRoot(transactions) {
if (transactions.length === 0) return null;
if (transactions.length === 1) return transactions[0];
if (transactions.length === 1) return transactions[0].getHash();
let hashes = [ reverseBuffer(transactions[0]).toString('hex') ];
transactions.split(1).forEach(function (value) {
hashes.push(value.hash);
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "cryptoforknote-util",
"version": "9.0.13",
"version": "9.0.14",
"main": "cryptoforknote-util",
"author": {
"name": "LucasJones",