From d08dcc439fbecf3c270064b7fda333600c9c8f23 Mon Sep 17 00:00:00 2001 From: Yan Chen <48968912+chenyan-dfinity@users.noreply.github.com> Date: Thu, 5 Sep 2024 11:50:02 -0700 Subject: [PATCH] fix --- src/limit_resource.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/limit_resource.rs b/src/limit_resource.rs index 5f0118f..af882d1 100644 --- a/src/limit_resource.rs +++ b/src/limit_resource.rs @@ -298,7 +298,7 @@ fn make_redirect_call_new(m: &mut Module, redirect_id: &[u8]) -> FunctionId { "delete_canister_snapshot", // These functions doesn't require controller permissions, but needs cycles "http_request", // Will be renamed to "_ttp_request", because the name conflicts with the http serving endpoint. - "_ttp_request", // need to redirect renamed function as well. + "_ttp_request", // need to redirect renamed function as well, because the second time we see this function, it's already renamed in memory ]; let mut builder = FunctionBuilder::new(