I agree that the scene was probably inaccurate.
Good cocaine, usually referred to as 'fishscale', looks like the picture on the left; White colored heroin, often referred to as 'china white' looks like the one on the right. (click to enlarge)
They're both white powders, but they have different textures from different flake/grain sizes, and cocaine is shiny, while heroin is not. Both have clumping properties, and the type of clumps they form are similarly different.
Furthermore, the two have different smells. In my limited experience, and confirmed by poking around google, white colored heroin has no smell or a faint vinegar smell1, whereas cocaine has a chemical-ly smell, sometimes compared to rocks or gasoline2. The format of both will, of course, change depending upon how badly they are cut, and with what.
I would assume, given her status, that Mia had access to excellent cocaine. However, the theory I have come up with that best makes the movie make sense is that she's used to cocaine that is greatly cut. 'Fishscale' cocaine is usually of high purity, and is expected to come in a rocked form. When cut, fishscale cocaine it will be cut just slightly with something numbing like lidocaine, in order to keep it numbing if you test it by skin or gum absorption, and then 're-rocked' to make it back into a solid chunk, instead of powder. This is where all the jibberjabber about cocaine users requiring razor blades comes from - they have to chop their rock into a powder to snort it. However, highly and badly cut cocaine by a dealer that is not concerned with the appearance of good cocaine may be cut to the point where it becomes a straight white powder.
Thus, the situation that makes the scene make most sense to me is that Mia is used to terribly cut cocaine, and thus mistakes the white powdered heroin for the low quality white powder cocaine she is used to.
1, 2: Source links removed as I don't have enough rep to post multiple links. Google "china white smell" and "fishscale cocaine smell".