Skip to content

Commit 101d995

Browse files
chore: removed return keyword from a function with one expression only
1 parent 2d1c6bb commit 101d995

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Sources/web3swift/Utils/EIP/EIP712.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,9 @@ public extension EIP712Hashable {
3939
}
4040

4141
private func dependencies() -> [EIP712Hashable] {
42-
let dependencies = Mirror(reflecting: self).children
42+
Mirror(reflecting: self).children
4343
.compactMap { $0.value as? EIP712Hashable }
4444
.flatMap { [$0] + $0.dependencies() }
45-
return dependencies
4645
}
4746

4847
private func encodePrimaryType() -> String {

0 commit comments

Comments
 (0)