Skip to content

Commit

Permalink
resolve 'todo' - already confirmed that only owner is permitted to op…
Browse files Browse the repository at this point in the history
…en channel
  • Loading branch information
BiPhan4 committed Oct 30, 2024
1 parent 61520c9 commit 0acda05
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ pub fn instantiate(
if let Some(ref options) = msg.channel_open_init_options {
CHANNEL_OPEN_INIT_OPTIONS.save(deps.storage, options)?;
}
// WARNING
// TODO: how to ensure that only outpost owner can do this?

ALLOW_CHANNEL_OPEN_INIT.save(deps.storage, &true)?;

// If channel open init options are provided, open the channel.
Expand Down

0 comments on commit 0acda05

Please sign in to comment.