add audit note
This commit is contained in:
parent
964e75dfd6
commit
4328ff75f4
@ -161,6 +161,7 @@ contract TokenDivider is IERC721Receiver, Ownable {
|
|||||||
revert TokenDivider__NotEnoughErc20Balance();
|
revert TokenDivider__NotEnoughErc20Balance();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// @audit: what if token already sent to other address through ERC20 send function
|
||||||
ERC20ToGenerateNftFraccion(tokenInfo.erc20Address).burnFrom(
|
ERC20ToGenerateNftFraccion(tokenInfo.erc20Address).burnFrom(
|
||||||
msg.sender, erc20ToMintedAmount[tokenInfo.erc20Address]
|
msg.sender, erc20ToMintedAmount[tokenInfo.erc20Address]
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user