Hey I have this simple stupid validator:
validator {
fn nft(datum: Datum, _redeemer: Void, context: ScriptContext) {
let ScriptContext { transaction, purpose } = context
when purpose is {
Mint(policy_id) -> False
_ -> False
}
}
}
validator {
fn nft(datum: Datum, _redeemer: Void, context: ScriptContext) {
let ScriptContext { transaction, purpose } = context
when purpose is {
Mint(policy_id) -> False
_ -> False
}
}
}
Now when performing a call to this validator to Mint it still returns TrueTrue
for the transaction and the native token is minted. ImI'm confused, how this can this be?