From e73f90fa9d42489b5e7df327738dad9cdad31b0b Mon Sep 17 00:00:00 2001 From: Pascal Marco Caversaccio Date: Sun, 11 Jun 2023 21:38:31 +0200 Subject: [PATCH] Fix `IERC1155.safeBatchTransferFrom` documentation (#4340) --- contracts/token/ERC1155/IERC1155.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/token/ERC1155/IERC1155.sol b/contracts/token/ERC1155/IERC1155.sol index 3d2585d7e..16b2b71a3 100644 --- a/contracts/token/ERC1155/IERC1155.sol +++ b/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. *