Why did old african-americans wear dimes on their ankles?

This could have been a way to keep the "haints" or spirits from grabbing them around the ankles and pulling them to hell with them. It has long been held that silver keeps away werewolves, vampires, etc.