lhartikk / naivecoin

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

updating return statement to ensure boolean return #8

Open rafaelmaza opened 6 years ago

rafaelmaza commented 6 years ago

Minor issue... Apparently false is missing on the return statement of the second if in validateCoinbaseTx, that has a boolean return type. It shouldn't affect the way it works though, since it tests for !validateCoinbaseTx(...) at transaction.ts.