Submitted by Sherlock
Duplicates can be written accidentally. If_removeNft() function is running, it will break when meeting the first match, not trying to remove other duplicates. Thus a caller should call removing a few times.
Recommend that In _addNft() to check if an inputted nft is existing in the nfts array. Do not push inputted nft if already added.
xyz-ctrl (Visor) confirmed:
ztcrypto (Visor) patched:
