Skip to content

Commit e1e97bf

Browse files
committed
style(auth): format scoped Solidity operation predicates
Signed-off-by: Kevin Wang <wy721@qq.com>
1 parent 3dfab0e commit e1e97bf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎dstack/kms/auth-eth/contracts/AuthorizationOperation.sol‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ library AuthorizationOperation {
1414
bytes32 internal constant APP_GET_CERT = keccak256("app_get_cert");
1515

1616
function isKms(bytes32 operation) internal pure returns (bool) {
17-
return
18-
operation == KMS_BOOTSTRAP || operation == KMS_SERVE || operation == KMS_EXPORT_KEYS || operation == KMS_IMPORT_KEYS;
17+
return operation == KMS_BOOTSTRAP || operation == KMS_SERVE || operation == KMS_EXPORT_KEYS
18+
|| operation == KMS_IMPORT_KEYS;
1919
}
2020

2121
function isApp(bytes32 operation) internal pure returns (bool) {

0 commit comments

Comments
 (0)