Open tvl83 opened 5 years ago
What's happening here is that the N and R parameters are missing from the call to get the scrypt proof of work. They can be hard-coded in to create a proof of work identical to that of Litecoin with N = 1024 and R = 1. So we get hash = Hash["scrypt"]( data, 1024, 1 ).
Please see modified version at my repository https://github.com/hashcrack256/node-genesis-block. You will want to upgrade to Node 12.x LTS.
HTH
No matter which algo I try i get the same error.