Line [119](https://github.com/gnosis/conditional-tokens-contracts/blob/master/contracts/ERC1155/ERC1155.sol#L119 ) in ERC1155 can be rewritten as: `from == msg.sender || _operatorApprovals[from][msg.sender],` Where the `== true` part is not necessary, as if it is `true`, the condition will still work correctly, and the same for `false` value.