Compare commits

...

1 Commits

Author SHA1 Message Date
MoneroOcean 04ba92e6fd Eth draft support 2021-01-22 08:38:27 +00:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -182,7 +182,7 @@ module.exports.constructNewDeroBlob = function(blockTemplate, nonceBuff) {
}; };
module.exports.EthBlockTemplate = function(rpcData) { module.exports.EthBlockTemplate = function(rpcData) {
const difficulty = parseFloat((module.exports.baseEth() / bignum(rpcData[2].lstrip("0x"), 16).toNumber()).toFixed(19)); const difficulty = parseFloat((module.exports.baseEthDiff() / bignum(rpcData[2].lstrip("0x"), 16).toNumber()).toFixed(19));
return { return {
hash: rpcData[0].lstrip("0x"), hash: rpcData[0].lstrip("0x"),
seed_hash: rpcData[1].lstrip("0x"), seed_hash: rpcData[1].lstrip("0x"),
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "cryptoforknote-util", "name": "cryptoforknote-util",
"version": "9.1.0", "version": "9.1.1",
"main": "cryptoforknote-util", "main": "cryptoforknote-util",
"author": { "author": {
"name": "LucasJones", "name": "LucasJones",