web3coach / the-blockchain-bar

The source-code for: "Build a Blockchain from Scratch in Go" eBook.
https://web3.coach
GNU Lesser General Public License v3.0
499 stars 184 forks source link

Page 38 missing --data=reward flag #9

Closed web3coach closed 3 years ago

web3coach commented 4 years ago

As reported by Paul on Discord:

Screenshot from 2020-08-17 13-44-00

paulcockrell commented 4 years ago

While you're modifying this section, it's worth noting that the third transaction in the example transactions tbb tx add --from=babayaga --to=andrej --value=2000 has the from and to values the wrong way around. Andrej is paying Babayag 1000tbb+100% for joining.

web3coach commented 4 years ago

Eagle eye! Thanks for reporting. Indeed. On page 21 it's correct but then a mistake in copy pasting.

Screenshot from 2020-08-17 13-54-48

web3coach commented 3 years ago

Fixed. Will be released now in the new version with other fixes. Thanks for raising it up @paulcockrell