From 57bc2457827775b3299fa9efc02ce7e50d34135f Mon Sep 17 00:00:00 2001 From: Jimii <30603522+jim4067@users.noreply.github.com> Date: Mon, 22 Jul 2024 16:10:29 +0300 Subject: [PATCH] fix: broken link for on-chain transfer hook example (#7041) --- docs/src/token-2022/extensions.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/token-2022/extensions.mdx b/docs/src/token-2022/extensions.mdx index d19c15de383..7e69a375aa7 100644 --- a/docs/src/token-2022/extensions.mdx +++ b/docs/src/token-2022/extensions.mdx @@ -1536,7 +1536,7 @@ interact with a program that implements transfer-hook in the repository's The `spl-transfer-hook-interface` library provides offchain and onchain helpers for resolving the additional accounts required. See -[invoke.rs](https://github.com/solana-labs/solana-program-library/tree/master/token/transfer-hook/interface/src/invoke.rs) +[onchain.rs](https://github.com/solana-labs/solana-program-library/blob/master/token/transfer-hook/interface/src/onchain.rs) for usage on-chain, and [offchain.rs](https://github.com/solana-labs/solana-program-library/tree/master/token/transfer-hook/interface/src/offchain.rs) for fetching the additional required account metas with any async off-chain client