Skip to content

Remove if guard in commit #41

Description

@lolaaimar
  • Remove if guard in commit for single level scripts
    // before
    if (commitmentsToIds.lookup(commitment).member(Bytes[48, 32, 32, 32, 32, 32, 32, 32])) { idsToCommitments.lookup(Bytes[48, 32, 32, 32, 32, 32, 32, 32]).insert(commitment); }
    // after
    idsToCommitments.lookup(Bytes[48, 32, 32, 32, 32, 32, 32, 32]).insert(commitment);

Metadata

Metadata

Assignees

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