The last transaction has one input with the amount = 0.00010000BTC and there is one output with the amount = 0.00005000BTC.
Weird. I imported the transaction in Electrum and it showed me a 0.05 output, but it may meant 0.05 mBTC. It indeed is a 0.00005 BTC output now that I decoded it with Bitcoin Core.
Hey @pooya87, how did you check that the signature actually verifies, or in this case, doesn't verify? We have the message which is probably the transaction:
0100000001dfee7c0aa6cb1cf8f4c9ac9339d9b6078d792a106267f93802ac75b52a6ad0de000000006a47304402203e408f62cf85e326dc4066636c306b85ce0b94dd94c001fbfd35da58979def3f022075255c85e927340d4777963357cb03482566e29f93cc9f590398dfb3a89cbb970121028ce829db535d42389defbf9ba58731f56ddb1cc7a189e5e30a85d63eb225b5d2ffffffff0188130000000000001976a91496a07833918317f2e0e23eea585970831da66f8988ac00000000
By decoding the scriptSig, we get both public key:
028ce829db535d42389defbf9ba58731f56ddb1cc7a189e5e30a85d63eb225b5d2
And the signature in hexadecimal:
304402203e408f62cf85e326dc4066636c306b85ce0b94dd94c001fbfd35da58979def3f022075255c85e927340d4777963357cb03482566e29f93cc9f590398dfb3a89cbb9701
It's just that I haven't used to verify that way and I was wondering if there's an internal function of Bitcoin Core that does it for me.