Sunday, December 22, 2024

transactions – I Get “Non-canonical DER signature” Error

it was requested few occasions in BSE and so they have been pointing the issue to the sighash which was not appended to the transaction however i did it and nonetheless have downside. i had an issue with quantity of charge and transaction which acquired mounted and now i get "Code: -26, Error: non-mandatory-script-verify-flag (Non-canonical DER signature)" error.

this was the earlier transaction and the deal with i working with it’s the first one.

that is my transaction information construction earlier than signing it:

01000000
01
14
fe532eec4ddc9bfd8686a7234300c24a47c60e437ae26e966a43e47f947def
00000000
16
00140429fc6e543ff7b4b75d0c6a60013c125827aa66
ffffffff
02
a00f000000000000
16
00140429fc6e543ff7b4b75d0c6a60013c125827aa66
b80b000000000000
16
00145951ac8720b1865ba633d19eaa6473afae7c46b3
00000000
01000000

and this the transaction after signing it:

01000000
0001
01
14
fe532eec4ddc9bfd8686a7234300c24a47c60e437ae26e966a43e47f947def
00000000
00
ffffffff
02
a00f000000000000
16
00140429fc6e543ff7b4b75d0c6a60013c125827aa66
b80b000000000000
16
00145951ac8720b1865ba633d19eaa6473afae7c46b3
02
48
30
4402201be50603dbb4a163572bf98b25f7d90d663de5b439e0cb311fe4ec9ec497a4760220200c123c3af9155ce87971ce496bf415975fb63675d339329e18fe3e3eaa190d54
01 ------> SIGHASH 
21
0280a1bfa268074c9171ed0e30f332706789c5138e1428e92506e671b1997eb874
00000000

so what’s the downside, even after including the sighash i nonetheless have downside.
thanks upfront.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles