fireship-io / node-blockchain

Blockchain Cryptocurrency Implemented with Node & TypeScript
498 stars 157 forks source link

Remove unnecessary addBlock param #2

Open a2br opened 3 years ago

a2br commented 3 years ago

The sender's public key can be found in the transaction instance, there's no need to give it to the function as a separate argument.