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 {
90
90
91
91
static func toData( _ json: String ) throws -> Data {
92
92
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. " )
94
94
}
95
95
return json
96
96
}
@@ -125,9 +125,9 @@ internal struct EIP712TypeArray: Codable {
125
125
public struct EIP712TypeProperty : Codable {
126
126
/// Property name. An arbitrary string.
127
127
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`` .
129
129
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).
131
131
/// If ``type`` is an array of then ``coreType`` will return the type of the array.
132
132
public let coreType : String
133
133
You can’t perform that action at this time.
0 commit comments