0
1
Normally, p2pkh address is generate by Base58(Prefix+ PublicKeyHash + Checksum), and prefix is set 0x00.
What if by accidently, prefix is set 0x05, then the address prefix becomes 3, which becomes a p2sh address.
And unfortunately some btc already sends to the 3 prefixed address, would I am able to spent the balance provided that I own the private key?
The very bad thing here is that I created a too special type pay to script:
to be specific, <OP_HASH160> <ScriptHash> <OP_EQUAL> the ScriptHash is hash160(public key). Is there a way to sign this kind of script?