Skip to content

Commit

Permalink
chore(sns): Remove unnecessary comment (#2750)
Browse files Browse the repository at this point in the history
This comment no longer applies now that we've migrated to ic-cdk. SNS
Swap and SNS Root did not have analagous comments in their canister.rs
  • Loading branch information
anchpop authored Nov 21, 2024
1 parent 13006ee commit d452a91
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions rs/sns/governance/canister/canister.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
// Note on `candid_method`: each canister method should have a function
// annotated with `#[candid_method]` that has the arguments and return type
// expected by the canister method, to be able to generate `governance.did`
// automatically.
//
// This often means we need a function with `#[export_name = "canister_query
// my_method"]` that doesn't take arguments and doesn't return anything (per IC
// spec), then another function with the actual method arguments and return
// type, annotated with `#[candid_method(query/update)]` to be able to generate
// the did definition of the method.

use async_trait::async_trait;
use ic_base_types::{CanisterId, PrincipalId};
use ic_canister_log::log;
Expand Down

0 comments on commit d452a91

Please sign in to comment.