Skip to content

Commit e96d426

Browse files
fix: swiftlint issues in NameHash.swift
1 parent 60560c3 commit e96d426

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/web3swift/Utils/ENS/NameHash.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public struct NameHash {
1919
}
2020

2121
static func namehash(_ name: String) -> Data? {
22-
if name == "" {
22+
if name.isEmpty {
2323
return Data(repeating: 0, count: 32)
2424
}
2525
let parts = name.split(separator: ".")

0 commit comments

Comments
 (0)