lhartikk / naivecoin

A tutorial for building a cryptocurrency
https://lhartikk.github.io/
Apache License 2.0
531 stars 266 forks source link

Code no longer works with current package.json #17

Open pauloguimaraes opened 5 years ago

pauloguimaraes commented 5 years ago

The current version of code actually does not work. ): The issue is related with the Elliptic version required in package.json.

The npm install command will try to install "^6.4.0" Elliptic version, which refers now to the 6.4.1 version. This Elliptics version have some different methods call, implying that the code no longer compile.

One alternative is require the specific Elliptic version, e.g.: "elliptic":"6.4.0"