## What happens when a transaction script for mining is used for fund transfer?

1

So, through an odd bug in hacking some stuff onto Bitcoin, I encountered a peculiar thing.

Basically, I managed to generate an transaction with 2 outputs. The first output was a typical txout

DUP HASH160 20:905a...a998 EQUALVERIFY CHECKSIG


However, a bug caused the second output (the change output, to send it back to myself) to be a mining generate transaction script:

33:025c...6718 CHECKSIG


This was not considered a non-standard TX, and as far as I can tell, was interpreted as a valid transaction for sending coins and block explorers see it as being sent to the proper address.

What exactly is the difference between these two scripts? What is the significance of using a mining script for a transaction?