• Welcome to forex.pm forex forum binary options trade. Please login or sign up.
 

How did testnet transaction b6714e05dd014cc92de09271886e62d85e7d41dd44fad417c520eb51d57f94c0 validate?

Started by Bitcoin, May 02, 2022, 06:53 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bitcoin

How did testnet transaction b6714e05dd014cc92de09271886e62d85e7d41dd44fad417c520eb51d57f94c0 validate?

Testnet transaction c474c67cabc13f74c65e7cf503db971d5ba176794bff7de36f46d51ca675cf3a locked 0.0005BTC with a simple math script:


OP_2DUP
OP_ADD
5102
OP_EQUALVERIFY
OP_SUB
230d
OP_EQUAL

Transaction b6714e05dd014cc92de09271886e62d85e7d41dd44fad417c520eb51d57f94c0 spent that output with the sigscript:


ba07
6985

I can't see how (ba07 + 6985) == 5102 or (ba07 - 6985) == 230d.


What am I missing about Bitcoin script, integers, and math?


Source: How did testnet transaction b6714e05dd014cc92de09271886e62d85e7d41dd44fad417c520eb51d57f94c0 validate?