Hi guys, I‘m having this error:
The Replica returned an error: code 5, message: “Canister trapped explicitly: assertion failed at heca.mo:218.3-218.32”
Here are the lines 217-220 in heca.mo:
public shared(msg) func setFrontendCanister(canisterID : Text) : async {
assert(msg.caller == _minter, “Only the minter can call this function.”);
_frontendCanister := canisterID;
};
How can I fix this error?