split check_mastercoin_transaction from validate function