Hi. I think that cell [9] (corresponding to pg. 141, Chapter 7) contains a mistake. The transaction that is deal with in the code is 'transaction' but I think that it should be 'tx_obj'.
The var 'transaction' was defined a few cells above, for another example unrelated to this. Cell [9] continues the work of cell [8] so I believe all the operations with 'transaction' should be done with 'tx_obj' instead, which was defined in [8].
If I'm right, the result of cell [9] should be different than the one in the book. When using 'tx_obj' the cell gives:
Hi. I think that cell [9] (corresponding to pg. 141, Chapter 7) contains a mistake. The transaction that is deal with in the code is 'transaction' but I think that it should be 'tx_obj'.
The var 'transaction' was defined a few cells above, for another example unrelated to this. Cell [9] continues the work of cell [8] so I believe all the operations with 'transaction' should be done with 'tx_obj' instead, which was defined in [8].
If I'm right, the result of cell [9] should be different than the one in the book. When using 'tx_obj' the cell gives:
010000000199a24308080ab26e6fb65c4eccfadf76749bb5bfa8cb08f291320b3c21e56f0d0d0000006b4830450221008ed46aa2cf12d6d81065bfabe903670165b538f65ee9a3385e6327d80c66d3b502203124f804410527497329ec4715e18558082d489b218677bd029e7fa306a72236012103935581e52c354cd2f484fe8ed83af7a3097005b2f9c60bff71d35bd795f54b67ffffffff02408af701000000001976a914d52ad7ca9b3d096a38e752c2018e6fbc40cdf26f88ac80969800000000001976a914507b27411ccf7f16f10297de6cef3f291623eddf88ac00000000
Thanks.