programmingbitcoin icon indicating copy to clipboard operation
programmingbitcoin copied to clipboard

Chapter 5: Varint sidebar example

Open lux-hux opened this issue 2 years ago • 0 comments

Programming Bitcoin (first edition) Chapter 5, pg 92:

The second dot point says 555 -> xfd2b02. However, the encode_varint function returns the correct value 0xfd02.

I believe this may only be an error in the print of the book and not in the online repository.

lux-hux avatar Sep 04 '23 01:09 lux-hux