diff --git a/myTest/blocks/blocks.js b/myTest/blocks/blocks.js index ff596ff..716e0f4 100644 --- a/myTest/blocks/blocks.js +++ b/myTest/blocks/blocks.js @@ -4,7 +4,7 @@ var assert = require('assert') var bitcoin = require('../..') // from 00000000000000000097669cdca131f24d40c4cc7d80eaa65967a2d09acf6ce6 - let txHex = '010000000001010000000000000000000000000000000000000000000000000000000000000000ffffffff50037f9a07174d696e656420627920416e74506f6f6c685b205a2b1f7bfabe6d6d36afe1910eca9405b66f97750940a656e38e2c0312958190ff8e98fd16761d220400000000000000aa340000d49f0000ffffffff02b07fc366000000001976a9148349212dc27ce3ab4c5b29b85c4dec643d764b1788ac0000000000000000266a24aa21a9ed72d9432948505e3d3062f1307a3f027a5dea846ff85e47159680919c12bf1e400120000000000000000000000000000000000000000000000000000000000000000000000000' + let txHex = '01000000012ad2438bd80f44912b5835cc636ccf4a82b4d88a4d19295fc1e888a21ee03273120000006b483045022100b27cd88b27849f19027c6838016a70ba95d33a6eac638006cd97c6c23da17aaf02207a772c1e209d6d283f9eb29079c4d238e9a2d8bb1630f52c9d28698290f9b9b80121022c7b4de26d782dcd2734d60b66794bb8c4feb1569b984e33f7c0972576dc1c3effffffff02bca61e00000000001976a91460d81b22c243fccbb4549ffec6df00f44f8bc5be88ac1cea7100000000001976a914531ec7bce6cca075dab446f25d6d92473d9f399d88ac00000000' console.log("Transaction Hex:",txHex,'\n'); let tx = bitcoin.Transaction.fromHex(txHex)