Added comment on isvalidCoinCode