When I try to use the ERC721PsiTrackBalance and write down the test, find some confused from balanceOf always be zero,
for this patch, changed [from] to [to] to make the balance increase correctly.
Expect
call _safeMint(to, 1), to account balanceOf should be 1
Thanks for great team !
When I try to use the ERC721PsiTrackBalance and write down the test, find some confused from
balanceOf
always be zero, for this patch, changed [from] to [to] to make the balance increase correctly.Expect
call
_safeMint(to, 1)
, to accountbalanceOf
should be 1Actual
balanceOf
is 0Test