F

EscrowMinter Function Error

Summary

The user is adding a function to the "EscrowMinter" resource in their aiSportsEscrow contract to enable others to join a pool. They are facing an error related to type comparison between UInt32? and Int? when checking if a league is full. The user believes that nil values should not occur since they are initialized in the Escrow resource, and they expect the function to terminate early if the Escrow ID is not found. They mention an error regarding unauthorized access to the append function and suggest a code snippet to borrow references with the correct authorization level. Despite trying the updated code, they still encounter the same error and receive advice to use auth(Mutate | Identity) for proper entitlement access.

Status
open
Tags
    Source
    #🛠│developer-questions