Author

Topic: non-mandatory-script-verify-flag (Non-canonical DER signature) (code 64) (Read 146 times)

legendary
Activity: 3472
Merit: 10611
could you post the original transaction with the original signature, because as i replied to your PM this s is still high and you must have made a computational error.

as for the error, you are getting it because your s value has its highest bit set but does not have a starting zero to indicate it is a positive integer.
s = 0xbea5364a573b7be0d1b103f0a79dd781e3bcb6e66c2d90e0a356dbd1ee70cc75
0xbe = 0b10111110
so it has to become 0x00bea5364a573b7be0d1b103f0a79dd781e3bcb6e66c2d90e0a356dbd1ee70cc75

the modified tx with low s assuming the s in OP is not invalid is the following:
Code:
01000000014b292ab171c7caaa421aeb84850479d6d3a6eda5de59affc890203ff597d81ad010000006b483045022100d8094ade89c8fa52117490869be3ee12b51da54dea66479c2e0e746e6aaa327f0220415ac9b5a8c4841f2e4efc0f5862287cd6f22600431b0f5b1c7b82bae1c574cc0121035640dd343b07721422722b87f9d35515dc42ae664c8504a83b83ed2c6dbf011cfdffffff0188130000000000001976a9140c2de57061cc2ade24e901b63dcf4b7c039f47af88ac00000000
copper member
Activity: 23
Merit: 32
Here is my signed raw transaction:

Code:
01000000014b292ab171c7caaa421aeb84850479d6d3a6eda5de59affc890203ff597d81ad010000006b483045022100d8094ade89c8fa52117490869be3ee12b51da54dea66479c2e0e746e6aaa327f0220bea5364a573b7be0d1b103f0a79dd781e3bcb6e66c2d90e0a356dbd1ee70cc750121035640dd343b07721422722b87f9d35515dc42ae664c8504a83b83ed2c6dbf011cfdffffff0188130000000000001976a9140c2de57061cc2ade24e901b63dcf4b7c039f47af88ac00000000

I managed to convert my High-S value to Low-S value and now I am getting the error: non-mandatory-script-verify-flag (Non-canonical DER signature) (code 64) when trying to broadcast this transaction. What do I do?
Jump to: