- 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);
// 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);