Fix RPC edge case of not identifying crowdsale purchase
Fix RPC edge case of not identifying crowdsale purchase

To reproduce the issue:

1. Create a crowdsale from addr1
2. Participate in crowdsale (tx1)
3. Close the crowdsale
4. Change issuer of crowdsale to addr2

When now checking tx1 with omni_gettransaction, the transaction type should show "Crowdsale Purchase" and not "Simple Send".

OmniLayer/omnicore,OmniLayer/omnicore,OmniLayer/omnicore,OmniLayer/omnicore,OmniLayer/omnicore,OmniLayer/omnicore