File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Sources/web3swift/Utils/EIP/EIP712 Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ public class EIP712Parser {
9090
9191 static func toData( _ json: String ) throws -> Data {
9292 guard let json = json. data ( using: . utf8) else {
93- throw Web3Error . inputError ( desc: " EIP712Parser. Failed to parse EIP712 payload. Given string is not valid UTF8 string. \( json ) " )
93+ throw Web3Error . inputError ( desc: " EIP712Parser. Failed to parse EIP712 payload. Given string is not valid UTF8 string. " )
9494 }
9595 return json
9696 }
@@ -125,9 +125,9 @@ internal struct EIP712TypeArray: Codable {
125125public struct EIP712TypeProperty : Codable {
126126 /// Property name. An arbitrary string.
127127 public let name : String
128- /// Property type. A type that's ABI encodable.
128+ /// Property type. A type that's ABI encodable or a custom type from ``EIP712TypedData/types`` .
129129 public let type : String
130- /// Strips brackets (e.g. [] - denoting an array) and other characters augmenting the type .
130+ /// Stripped of brackets ([] - denoting an array).
131131 /// If ``type`` is an array of then ``coreType`` will return the type of the array.
132132 public let coreType : String
133133
You can’t perform that action at this time.
0 commit comments