File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Sources/web3swift/Utils/EIP
Tests/web3swiftTests/localTests Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ fileprivate extension EIP712Hashable {
127
127
}
128
128
return typeName + " " + key
129
129
}
130
- return self . name + " ( " + parametrs. joined ( separator: " , " ) + " ) "
130
+ return name + " ( " + parametrs. joined ( separator: " , " ) + " ) "
131
131
}
132
132
}
133
133
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ class EIP712Tests: LocalTestCase {
51
51
account: account!,
52
52
password: password,
53
53
chainId: chainId)
54
- XCTAssertEqual ( signature. toHexString ( ) , " bf3182a3f52e65b416f86e76851c8e7d5602aef28af694f31359705b039d8d1931d53f3d5088ac7195944e8a9188d161ba3757877d08105885304f65282228c71c " )
54
+ XCTAssertEqual ( signature. toHexString ( ) , " c0567b120d3de6b3042ae3de1aa346e167454c675e1eaf40ea2f9de89e6a95c2783c1aa6c96aa1e0aaead4ae8901052fa9fd7abe4acb331adafd61610e93c3f01c " )
55
55
}
56
56
57
57
func testWithChainId( ) throws {
@@ -102,6 +102,6 @@ class EIP712Tests: LocalTestCase {
102
102
account: account!,
103
103
password: password,
104
104
chainId: chainId)
105
- XCTAssertEqual ( signature. toHexString ( ) , " f1f423cb23efad5035d4fb95c19cfcd46d4091f2bd924680b88c4f9edfa1fb3a4ce5fc5d169f354e3b464f45a425ed3f6203af06afbacdc5c8224a300ce9e6b21b " )
105
+ XCTAssertEqual ( signature. toHexString ( ) , " 9ee2aadf14739e1cafc3bc1a0b48457c12419d5b480a8ffa86eb7df538c82d0753ca2a6f8024dea576b383cbcbe5e2b181b087e489298674bf6512756cabc5b01b " )
106
106
}
107
107
}
You can’t perform that action at this time.
0 commit comments