This one's a classic scam, though I'm surprised she just asked to change a bill -- the usual version involves buying something small with a large bill, since the need to manage the change and dollar bills makes it harder to keep track of everything.
There's also a variant where it's the cashier that pulls the scam (essentially doing the reverse, giving change as if the person paid with a twenty instead of a fifty, and pocketing the rest).