Maybe I shouldn’t have added this info as “edit” to my last post:
@ttutdxh identified this update of code as change that introduced the bug.
From the Bitcoin core client debug window:
decoderawtransaction 01000000039d2e1018db8639d93353081f0d1564dc34b2227a0a9ef040f9a7a2fdfca07ca000000000fd810200473044022075982fcc1644dbc9013f49c7c89a4d871c687b88a6fb210ffe42c90b04401ef402203a011371fa0bebf470841e5db5dfc1e6ac3cf82a6436fdbed091eaf36994cfaa014830450221008f824dd474cc227a75bcbb72c53adb65b5934c2f10f9b761fab8259cd3b871ab0220341c4a92128b036a614cce46dde1053ecba09589b5b343319acb955f4a68ced00147304402207812eb33d3b160fc22257b85a736c0ebf26d2872aa753dc648f253b8d97797cc022036c8c85255de144725877f7f7e0c52ed9d3bdc3e1796765136585aebf536791301483045022100e4c05d2458b3aff1986b3aefea9e673575b72e8879bc20d1ddf1909fbd17624102204548a274fc067de175bd8ebf86c38115af6919dc7431a04e77c438a16da2a45401473044022037e6e7d34af11cf11861044a1d1ca0e52ad76625bdcb7b5227984d84fad78ba2022010a77657fd34308737979f953f110686d467003274ea40317a938e9bea2fe2b9014d130155210234139729dd413c84a71a0bfd6f236790be861b37311cef3240277c940e4b0c072102435b894b94b4b27dd24436b3f9ad0b9409d855ab4be6e91141d445804e84750b2102e2fcdfe246e9cd4864d9119b8af465487385eccd0ea30a8cb21d44d36818189f210312cd6eb361c9ebb0d90e44946492a237eab4c7a7d88a0db800f2f460937cc22f21034b0bd0f653d4ac0a2e9e81eb1863bb8e5743f6cb1ea40d845b939c225a1a80ff2103661a4370dfcfbcea25d1800057220f4572b6eecab95bb0670e8676a9e34451dc2103a5fc09a5de595e4758bfbc3a932e2c448cc49a557dd6e64788cee530a76225212103da8082062298c40f0b473b74f3c95b57eaaebe3e67ed30ce56347b2e727915fb58aeffffffffe6cb2cfa6c2d917fc8a6f00e01c8297c0c448075054380f8c09c5adcbccafcb500000000fd81020047304402202582f385b74ad47059c2c1adc4babb8c1a76092017a766d9526f91108a124f2a02204d4252992a24cb0aadc5d7ba59cb5b6851d077b04c60af21fb968a67bbf7d53201483045022100a7bf09d7178e91c6dfc7bf87f852c274d412cbdae999278300cec9f82651291302203306967163ebeaab4201967db86bce4ca39d39bf4d39c0e7e61a1a7b2eae84040147304402203838b8b199c4dbe66c63824b5a65f9f7bbd0bd0383612540bc03a7afbc3f792302206ed53ae1803eb54d65fdc15c38b60fb389002d785b1a1c36128cf47645b469b4014830450221008b4b5a326d7430377548f3a31d06bf69475ed6dcc2cf46e192c661e1f732d9d70220207596d0cee00072af63f3750c37c372e0836a421b371c5c671ae6f9267d3d740147304402205044d52497ad0b1390d5b8ebea83127a85e122270815ac1de13969fa925073a302205c34bc3860e2a110e88785c6b0ad389b527cffd3d6fbf2a55c3b17bacf6d70e5014d130155210234139729dd413c84a71a0bfd6f236790be861b37311cef3240277c940e4b0c072102435b894b94b4b27dd24436b3f9ad0b9409d855ab4be6e91141d445804e84750b2102e2fcdfe246e9cd4864d9119b8af465487385eccd0ea30a8cb21d44d36818189f210312cd6eb361c9ebb0d90e44946492a237eab4c7a7d88a0db800f2f460937cc22f21034b0bd0f653d4ac0a2e9e81eb1863bb8e5743f6cb1ea40d845b939c225a1a80ff2103661a4370dfcfbcea25d1800057220f4572b6eecab95bb0670e8676a9e34451dc2103a5fc09a5de595e4758bfbc3a932e2c448cc49a557dd6e64788cee530a76225212103da8082062298c40f0b473b74f3c95b57eaaebe3e67ed30ce56347b2e727915fb58aeffffffff0a07f4216caa196357ea8e737b511c73d35992a4b13a65be73d6feaf3b869af400000000fd80020047304402207299765258a33edacb187ce0bd9ba9e7e00e4a9b6bb770bf8fbbe43230628cdf02200ed527f8ec5f46a10cb6da142e1da7040d753aa8756dfff7527dde6d9356cd620147304402207d8bb83e0290e1bce3e032e34799f9174c9ff228edac6be881f2717f7205862002204d878eac7a52e80b68f05703cd8a8ea39d904fb25fa60d276f83d1c4d2b1ce42014730440220133c0c88ac29e978edc60e868873b0775a19a7bdfe791dbb5fada4b4282e4ded02206b2cb55d63bcb2d17d90ef461e7e749bca6a4152b156df1d2e83dbbb2f997f1301483045022100ad99fc6ac84b23f193f1aa4ef60af79fc401e97a0344dbc65c8c0aec0d697e7302205413fa41845b4fe0bd0ab0a670c7a01e6865f68f28525c5052cc91d06553b27001473044022065758075cb88be0428742b2b79ee3d15b730e60fb3680a891bdebbea500cfd9d022047a764bd4b870aaeb6fe9fc2f3e1896b8952d832496ca50bbb9c52fd11201519014d130155210234139729dd413c84a71a0bfd6f236790be861b37311cef3240277c940e4b0c072102435b894b94b4b27dd24436b3f9ad0b9409d855ab4be6e91141d445804e84750b2102e2fcdfe246e9cd4864d9119b8af465487385eccd0ea30a8cb21d44d36818189f210312cd6eb361c9ebb0d90e44946492a237eab4c7a7d88a0db800f2f460937cc22f21034b0bd0f653d4ac0a2e9e81eb1863bb8e5743f6cb1ea40d845b939c225a1a80ff2103661a4370dfcfbcea25d1800057220f4572b6eecab95bb0670e8676a9e34451dc2103a5fc09a5de595e4758bfbc3a932e2c448cc49a557dd6e64788cee530a76225212103da8082062298c40f0b473b74f3c95b57eaaebe3e67ed30ce56347b2e727915fb58aeffffffff0380c737b2000000001976a914f7eb09ac2bf52698dba16aea1c0955187103983988ac00ca9a3b000000001976a9140c70e95bff7e770b046952652f0bb8b737c6183788ac3016b2970100000017a914f716edbaa472c1470d36a3e78b17a4c9bb547fcf8700000000
{
"txid" : "50e8a2734775ae0aab676a402f666c988da6d9b89d3ea3d0b7f5ef7c0601d1c9",
"version" : 1,
"locktime" : 0,
"vin" : [
{
"txid" : "a07ca0fcfda2a7f940f09e0a7a22b234dc64150d1f085333d93986db18102e9d",
"vout" : 0,
"scriptSig" : {
"asm" : "0 3044022075982fcc1644dbc9013f49c7c89a4d871c687b88a6fb210ffe42c90b04401ef402203a011371fa0bebf470841e5db5dfc1e6ac3cf82a6436fdbed091eaf36994cfaa01 30450221008f824dd474cc227a75bcbb72c53adb65b5934c2f10f9b761fab8259cd3b871ab0220341c4a92128b036a614cce46dde1053ecba09589b5b343319acb955f4a68ced001 304402207812eb33d3b160fc22257b85a736c0ebf26d2872aa753dc648f253b8d97797cc022036c8c85255de144725877f7f7e0c52ed9d3bdc3e1796765136585aebf536791301 3045022100e4c05d2458b3aff1986b3aefea9e673575b72e8879bc20d1ddf1909fbd17624102204548a274fc067de175bd8ebf86c38115af6919dc7431a04e77c438a16da2a45401 3044022037e6e7d34af11cf11861044a1d1ca0e52ad76625bdcb7b5227984d84fad78ba2022010a77657fd34308737979f953f110686d467003274ea40317a938e9bea2fe2b901 55210234139729dd413c84a71a0bfd6f236790be861b37311cef3240277c940e4b0c072102435b894b94b4b27dd24436b3f9ad0b9409d855ab4be6e91141d445804e84750b2102e2fcdfe246e9cd4864d9119b8af465487385eccd0ea30a8cb21d44d36818189f210312cd6eb361c9ebb0d90e44946492a237eab4c7a7d88a0db800f2f460937cc22f21034b0bd0f653d4ac0a2e9e81eb1863bb8e5743f6cb1ea40d845b939c225a1a80ff2103661a4370dfcfbcea25d1800057220f4572b6eecab95bb0670e8676a9e34451dc2103a5fc09a5de595e4758bfbc3a932e2c448cc49a557dd6e64788cee530a76225212103da8082062298c40f0b473b74f3c95b57eaaebe3e67ed30ce56347b2e727915fb58ae",
"hex" : "00473044022075982fcc1644dbc9013f49c7c89a4d871c687b88a6fb210ffe42c90b04401ef402203a011371fa0bebf470841e5db5dfc1e6ac3cf82a6436fdbed091eaf36994cfaa014830450221008f824dd474cc227a75bcbb72c53adb65b5934c2f10f9b761fab8259cd3b871ab0220341c4a92128b036a614cce46dde1053ecba09589b5b343319acb955f4a68ced00147304402207812eb33d3b160fc22257b85a736c0ebf26d2872aa753dc648f253b8d97797cc022036c8c85255de144725877f7f7e0c52ed9d3bdc3e1796765136585aebf536791301483045022100e4c05d2458b3aff1986b3aefea9e673575b72e8879bc20d1ddf1909fbd17624102204548a274fc067de175bd8ebf86c38115af6919dc7431a04e77c438a16da2a45401473044022037e6e7d34af11cf11861044a1d1ca0e52ad76625bdcb7b5227984d84fad78ba2022010a77657fd34308737979f953f110686d467003274ea40317a938e9bea2fe2b9014d130155210234139729dd413c84a71a0bfd6f236790be861b37311cef3240277c940e4b0c072102435b894b94b4b27dd24436b3f9ad0b9409d855ab4be6e91141d445804e84750b2102e2fcdfe246e9cd4864d9119b8af465487385eccd0ea30a8cb21d44d36818189f210312cd6eb361c9ebb0d90e44946492a237eab4c7a7d88a0db800f2f460937cc22f21034b0bd0f653d4ac0a2e9e81eb1863bb8e5743f6cb1ea40d845b939c225a1a80ff2103661a4370dfcfbcea25d1800057220f4572b6eecab95bb0670e8676a9e34451dc2103a5fc09a5de595e4758bfbc3a932e2c448cc49a557dd6e64788cee530a76225212103da8082062298c40f0b473b74f3c95b57eaaebe3e67ed30ce56347b2e727915fb58ae"
},
"sequence" : 4294967295
},
{
"txid" : "b5fccabcdc5a9cc0f88043057580440c7c29c8010ef0a6c87f912d6cfa2ccbe6",
"vout" : 0,
"scriptSig" : {
"asm" : "0 304402202582f385b74ad47059c2c1adc4babb8c1a76092017a766d9526f91108a124f2a02204d4252992a24cb0aadc5d7ba59cb5b6851d077b04c60af21fb968a67bbf7d53201 3045022100a7bf09d7178e91c6dfc7bf87f852c274d412cbdae999278300cec9f82651291302203306967163ebeaab4201967db86bce4ca39d39bf4d39c0e7e61a1a7b2eae840401 304402203838b8b199c4dbe66c63824b5a65f9f7bbd0bd0383612540bc03a7afbc3f792302206ed53ae1803eb54d65fdc15c38b60fb389002d785b1a1c36128cf47645b469b401 30450221008b4b5a326d7430377548f3a31d06bf69475ed6dcc2cf46e192c661e1f732d9d70220207596d0cee00072af63f3750c37c372e0836a421b371c5c671ae6f9267d3d7401 304402205044d52497ad0b1390d5b8ebea83127a85e122270815ac1de13969fa925073a302205c34bc3860e2a110e88785c6b0ad389b527cffd3d6fbf2a55c3b17bacf6d70e501 55210234139729dd413c84a71a0bfd6f236790be861b37311cef3240277c940e4b0c072102435b894b94b4b27dd24436b3f9ad0b9409d855ab4be6e91141d445804e84750b2102e2fcdfe246e9cd4864d9119b8af465487385eccd0ea30a8cb21d44d36818189f210312cd6eb361c9ebb0d90e44946492a237eab4c7a7d88a0db800f2f460937cc22f21034b0bd0f653d4ac0a2e9e81eb1863bb8e5743f6cb1ea40d845b939c225a1a80ff2103661a4370dfcfbcea25d1800057220f4572b6eecab95bb0670e8676a9e34451dc2103a5fc09a5de595e4758bfbc3a932e2c448cc49a557dd6e64788cee530a76225212103da8082062298c40f0b473b74f3c95b57eaaebe3e67ed30ce56347b2e727915fb58ae",
"hex" : "0047304402202582f385b74ad47059c2c1adc4babb8c1a76092017a766d9526f91108a124f2a02204d4252992a24cb0aadc5d7ba59cb5b6851d077b04c60af21fb968a67bbf7d53201483045022100a7bf09d7178e91c6dfc7bf87f852c274d412cbdae999278300cec9f82651291302203306967163ebeaab4201967db86bce4ca39d39bf4d39c0e7e61a1a7b2eae84040147304402203838b8b199c4dbe66c63824b5a65f9f7bbd0bd0383612540bc03a7afbc3f792302206ed53ae1803eb54d65fdc15c38b60fb389002d785b1a1c36128cf47645b469b4014830450221008b4b5a326d7430377548f3a31d06bf69475ed6dcc2cf46e192c661e1f732d9d70220207596d0cee00072af63f3750c37c372e0836a421b371c5c671ae6f9267d3d740147304402205044d52497ad0b1390d5b8ebea83127a85e122270815ac1de13969fa925073a302205c34bc3860e2a110e88785c6b0ad389b527cffd3d6fbf2a55c3b17bacf6d70e5014d130155210234139729dd413c84a71a0bfd6f236790be861b37311cef3240277c940e4b0c072102435b894b94b4b27dd24436b3f9ad0b9409d855ab4be6e91141d445804e84750b2102e2fcdfe246e9cd4864d9119b8af465487385eccd0ea30a8cb21d44d36818189f210312cd6eb361c9ebb0d90e44946492a237eab4c7a7d88a0db800f2f460937cc22f21034b0bd0f653d4ac0a2e9e81eb1863bb8e5743f6cb1ea40d845b939c225a1a80ff2103661a4370dfcfbcea25d1800057220f4572b6eecab95bb0670e8676a9e34451dc2103a5fc09a5de595e4758bfbc3a932e2c448cc49a557dd6e64788cee530a76225212103da8082062298c40f0b473b74f3c95b57eaaebe3e67ed30ce56347b2e727915fb58ae"
},
"sequence" : 4294967295
},
{
"txid" : "f49a863baffed673be653ab1a49259d3731c517b738eea576319aa6c21f4070a",
"vout" : 0,
"scriptSig" : {
"asm" : "0 304402207299765258a33edacb187ce0bd9ba9e7e00e4a9b6bb770bf8fbbe43230628cdf02200ed527f8ec5f46a10cb6da142e1da7040d753aa8756dfff7527dde6d9356cd6201 304402207d8bb83e0290e1bce3e032e34799f9174c9ff228edac6be881f2717f7205862002204d878eac7a52e80b68f05703cd8a8ea39d904fb25fa60d276f83d1c4d2b1ce4201 30440220133c0c88ac29e978edc60e868873b0775a19a7bdfe791dbb5fada4b4282e4ded02206b2cb55d63bcb2d17d90ef461e7e749bca6a4152b156df1d2e83dbbb2f997f1301 3045022100ad99fc6ac84b23f193f1aa4ef60af79fc401e97a0344dbc65c8c0aec0d697e7302205413fa41845b4fe0bd0ab0a670c7a01e6865f68f28525c5052cc91d06553b27001 3044022065758075cb88be0428742b2b79ee3d15b730e60fb3680a891bdebbea500cfd9d022047a764bd4b870aaeb6fe9fc2f3e1896b8952d832496ca50bbb9c52fd1120151901 55210234139729dd413c84a71a0bfd6f236790be861b37311cef3240277c940e4b0c072102435b894b94b4b27dd24436b3f9ad0b9409d855ab4be6e91141d445804e84750b2102e2fcdfe246e9cd4864d9119b8af465487385eccd0ea30a8cb21d44d36818189f210312cd6eb361c9ebb0d90e44946492a237eab4c7a7d88a0db800f2f460937cc22f21034b0bd0f653d4ac0a2e9e81eb1863bb8e5743f6cb1ea40d845b939c225a1a80ff2103661a4370dfcfbcea25d1800057220f4572b6eecab95bb0670e8676a9e34451dc2103a5fc09a5de595e4758bfbc3a932e2c448cc49a557dd6e64788cee530a76225212103da8082062298c40f0b473b74f3c95b57eaaebe3e67ed30ce56347b2e727915fb58ae",
"hex" : "0047304402207299765258a33edacb187ce0bd9ba9e7e00e4a9b6bb770bf8fbbe43230628cdf02200ed527f8ec5f46a10cb6da142e1da7040d753aa8756dfff7527dde6d9356cd620147304402207d8bb83e0290e1bce3e032e34799f9174c9ff228edac6be881f2717f7205862002204d878eac7a52e80b68f05703cd8a8ea39d904fb25fa60d276f83d1c4d2b1ce42014730440220133c0c88ac29e978edc60e868873b0775a19a7bdfe791dbb5fada4b4282e4ded02206b2cb55d63bcb2d17d90ef461e7e749bca6a4152b156df1d2e83dbbb2f997f1301483045022100ad99fc6ac84b23f193f1aa4ef60af79fc401e97a0344dbc65c8c0aec0d697e7302205413fa41845b4fe0bd0ab0a670c7a01e6865f68f28525c5052cc91d06553b27001473044022065758075cb88be0428742b2b79ee3d15b730e60fb3680a891bdebbea500cfd9d022047a764bd4b870aaeb6fe9fc2f3e1896b8952d832496ca50bbb9c52fd11201519014d130155210234139729dd413c84a71a0bfd6f236790be861b37311cef3240277c940e4b0c072102435b894b94b4b27dd24436b3f9ad0b9409d855ab4be6e91141d445804e84750b2102e2fcdfe246e9cd4864d9119b8af465487385eccd0ea30a8cb21d44d36818189f210312cd6eb361c9ebb0d90e44946492a237eab4c7a7d88a0db800f2f460937cc22f21034b0bd0f653d4ac0a2e9e81eb1863bb8e5743f6cb1ea40d845b939c225a1a80ff2103661a4370dfcfbcea25d1800057220f4572b6eecab95bb0670e8676a9e34451dc2103a5fc09a5de595e4758bfbc3a932e2c448cc49a557dd6e64788cee530a76225212103da8082062298c40f0b473b74f3c95b57eaaebe3e67ed30ce56347b2e727915fb58ae"
},
"sequence" : 4294967295
}
],
"vout" : [
{
"value" : 29.90000000,
"n" : 0,
"scriptPubKey" : {
"asm" : "OP_DUP OP_HASH160 f7eb09ac2bf52698dba16aea1c09551871039839 OP_EQUALVERIFY OP_CHECKSIG",
"hex" : "76a914f7eb09ac2bf52698dba16aea1c0955187103983988ac",
"reqSigs" : 1,
"type" : "pubkeyhash",
"addresses" : [
"1PbsU6RsQjueUgtx2jC9oKaN62kXMjo8u5"
]
}
},
{
"value" : 10.00000000,
"n" : 1,
"scriptPubKey" : {
"asm" : "OP_DUP OP_HASH160 0c70e95bff7e770b046952652f0bb8b737c61837 OP_EQUALVERIFY OP_CHECKSIG",
"hex" : "76a9140c70e95bff7e770b046952652f0bb8b737c6183788ac",
"reqSigs" : 1,
"type" : "pubkeyhash",
"addresses" : [
"128nNY1hpeiJkWGNPow5K48Acpaf8fpFYL"
]
}
},
{
"value" : 68.39998000,
"n" : 2,
"scriptPubKey" : {
"asm" : "OP_HASH160 f716edbaa472c1470d36a3e78b17a4c9bb547fcf OP_EQUAL",
"hex" : "a914f716edbaa472c1470d36a3e78b17a4c9bb547fcf87",
"reqSigs" : 1,
"type" : "scripthash",
"addresses" : [
"3QDWJ2yqJ5iTUg6cSpAwxx95ba3NG97hzG"
]
}
}
]
}