Fix determine-coin