Skip to content

Commit 5edb12d

Browse files
authored
chore: Let's spell parameters correctly (#745)
1 parent de45e2b commit 5edb12d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/web3swift/Utils/EIP/EIP712.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ fileprivate extension EIP712Hashable {
100100
}
101101

102102
func encodePrimaryType() -> String {
103-
let parametrs: [String] = Mirror(reflecting: self).children.compactMap { key, value in
103+
let parameters: [String] = Mirror(reflecting: self).children.compactMap { key, value in
104104
guard let key = key else { return nil }
105105

106106
func checkIfValueIsNil(value: Any) -> Bool {
@@ -127,7 +127,7 @@ fileprivate extension EIP712Hashable {
127127
}
128128
return typeName + " " + key
129129
}
130-
return name + "(" + parametrs.joined(separator: ",") + ")"
130+
return name + "(" + parameters.joined(separator: ",") + ")"
131131
}
132132
}
133133

0 commit comments

Comments
 (0)