Great article, but how are you able to use the SHA256 function without importing it into blockchain.js?
By doing as you instructed, I am getting this error in the console.
blockchain.js:6 Uncaught ReferenceError: SHA256 is not defined
at new Block (blockchain.js:6)
at new Blockchain (blockchain.js:24)
at <anonymous>:1:18
Great article, but how are you able to use the
SHA256function without importing it intoblockchain.js?By doing as you instructed, I am getting this error in the console.
blockchain.js:6 Uncaught ReferenceError: SHA256 is not defined at new Block (blockchain.js:6) at new Blockchain (blockchain.js:24) at <anonymous>:1:18