Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyan-dfinity committed Sep 5, 2024
1 parent 1633dd9 commit d08dcc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/limit_resource.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit d08dcc4

Please sign in to comment.