Browse Source

Fix `IERC1155.safeBatchTransferFrom` documentation (#4340)

Pascal Marco Caversaccio 2 years ago
parent
commit
e73f90fa9d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contracts/token/ERC1155/IERC1155.sol

+ 1 - 1
contracts/token/ERC1155/IERC1155.sol

@@ -108,7 +108,7 @@ interface IERC1155 is IERC165 {
      *
      *
      * WARNING: This function can potentially allow a reentrancy attack when transferring tokens
-     * to an untrusted contract, when invoking {onERC1155Received} on the receiver.
+     * to an untrusted contract, when invoking {onERC1155BatchReceived} on the receiver.
      * Ensure to follow the checks-effects-interactions pattern and consider employing
      * reentrancy guards when interacting with untrusted contracts.
      *