user85486: I can not decode transaction in Bitcoin-QT.
The error is: TX decode failed (code -22). But blockexplorer site decode it.
Then I try to send transaction from blockcypher.com site, and the error is:
Error validating transaction: Error running script for input 0 referencing c806c9ae2ac9c71fad307c9fedeca2133edb195cae9e924424885f57a63ba9a9 at 0: Script was NOT verified successfully..
Please help what is wrong. I check transaction structure by hand and check signatures. It's all ok.
I upload signed and unsigned transactions on pastebin.
Unsigned transaction: https://pastebin.com/XfE73U57
Decoded unsigned transaction: https://pastebin.com/RH2tNrNn
Signed transaction: https://pastebin.com/K15c29tK
Decoded signed transaction: https://pastebin.com/Mfs0bXgR
I check signatures and structure of transaction by hand, and they are all correct. Inputs are unspent. So what is the problem? Please help me.

user3056: Your transaction has 4 extra bytes at the end.
Just remove the 01000000 and it should be fine then.

85486: <p>I can not decode transaction in Bitcoin-QT.</p>

<p>The error is: <code>TX decode failed (code -22)</code>. But blockexplorer site decode it.</p>

<p>Then I try to send transaction from blockcypher.com site, and the error is:
<code>Error validating transaction: Error running script for input 0 referencing c806c9ae2ac9c71fad307c9fedeca2133edb195cae9e924424885f57a63ba9a9 at 0: Script was NOT verified successfully..</code></p>

<p>Please help what is wrong. I check transaction structure by hand and check signatures. It's all ok.</p>

<p>I upload signed and unsigned transactions on pastebin.</p>

<p>Unsigned transaction: <a href="https://pastebin.com/XfE73U57" rel="nofollow noreferrer">https://pastebin.com/XfE73U57</a></p>

<p>Decoded unsigned transaction: <a href="https://pastebin.com/RH2tNrNn" rel="nofollow noreferrer">https://pastebin.com/RH2tNrNn</a></p>

<p>Signed transaction: <a href="https://pastebin.com/K15c29tK" rel="nofollow noreferrer">https://pastebin.com/K15c29tK</a></p>

<p>Decoded signed transaction: <a href="https://pastebin.com/Mfs0bXgR" rel="nofollow noreferrer">https://pastebin.com/Mfs0bXgR</a></p>

<p>I check signatures and structure of transaction by hand, and they are all correct. Inputs are unspent. So what is the problem? Please help me.</p>
 3056: <p>Your transaction has 4 extra bytes at the end.
Just remove the 01000000 and it should be fine then.</p>
