[ad_1]
it was asked few times in BSE and they were pointing the problem to the sighash which was not appended to the transaction but i did it and still have problem. i had a problem with amount of fee and transaction which got fixed and now i get "Code: -26, Error: non-mandatory-script-verify-flag (Non-canonical DER signature)"
error.
this was the previous transaction and the address i working with it is the first one.
this is my transaction data structure before 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 is the problem, even after adding the sighash i still have problem.
thanks in advance.
[ad_2]
Source link
Leave a Reply