Skip to content

FreezeableFlag does not seems to be used in freeze and unfrezze #19

@rya-sge

Description

@rya-sge

The variable FreezableFlag does not seem to be used.

The variable can be removed since the implementation has two distinct functions to freeze and unfreeze tokens.

    #[public]
    fn freeze(user: AztecAddress, value: FreezableFlag) {
        storage.enforcement_module.freeze(context.msg_sender(), user, value, storage.access_control);
    }
  #[public]
   fn unfreeze(user: AztecAddress, value: FreezableFlag) {
       storage.enforcement_module.unfreeze(
           context.msg_sender(),
           user,
           value,
           storage.access_control,
       );
   }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions