1 vote

Validator always accepts and Mints (but it shouldn't)

That is because the interface of the source you have is for a spending validator, and NOT for a minting policy. Let me explain. for the chain there is not difference between spending validators and ...
Michele Nuzzi's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible