whoisjeremylam / enu

Enu API server application
0 stars 0 forks source link

counterpartyapi.signRawTransaction() fails BIP0062 checks #71

Closed whoisjeremylam closed 9 years ago

whoisjeremylam commented 9 years ago

New malleability check, specifically "Superfluous scriptSig operations scriptPubKey evaluation will be required to result in a single non-zero value. If any extra data elements remain on the stack, the script evaluates to false." fails.

https://github.com/bitcoin/bips/blob/master/bip-0062.mediawiki

requestId: 1e9f22da0cd78ac3c53647ac0c8f8ace unsignedTx: 0100000002e4679db827c70493aad18d33077669f6e3f5b1e494b59423f5c77fef0cdf9b85000000001976a914f881641aa74d4c2d0953cc332b6d9264b033abea88acffffffff03679d7f80b91a6a46916056711fa05da9b9dc8e5751d56aa38beba57c95fd1f000000001976a914f881641aa74d4c2d0953cc332b6d9264b033abea88acffffffff0336150000000000001976a914599a578f3650398cce1156c39bbf073161dd737b88ac00000000000000001e6a1cf01b4b5792903450e169daa92c385a6385d218802e74fa74991750cb48641700000000001976a914f881641aa74d4c2d0953cc332b6d9264b033abea88ac00000000

Error from bitcoind when sendrawtransaction: {"result":null,"error":{"code":-26,"message":"16: mandatory-script-verify-flag-failed (Script evaluated without error but finished with a false/empty top stack element)"},"id":1}