Skip to content

Commit 9e9cffa

Browse files
authored
token-2022: Clarify when transfer hooks are not called (#28)
#### Problem It's not clear that the transfer hook is not called during self-transfers. #### Summary of changes Make it abundantly clear.
1 parent 52d32db commit 9e9cffa

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/content/docs/token-2022/extensions.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1536,6 +1536,9 @@ the program may require are automatically resolved on-chain! This process is
15361536
explained in detail in many of the linked `README` files below under
15371537
**Resources**.
15381538

1539+
**Note**: The transfer-hook program is not called during self-transfers, where
1540+
the source and destination accounts are the same.
1541+
15391542
#### Resources
15401543

15411544
The interface description and structs exist at

0 commit comments

Comments
 (0)