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 {
127127 }
128128 return typeName + " " + key
129129 }
130- return self . name + " ( " + parametrs. joined ( separator: " , " ) + " ) "
130+ return name + " ( " + parametrs. joined ( separator: " , " ) + " ) "
131131 }
132132}
133133
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ class EIP712Tests: LocalTestCase {
5151 account: account!,
5252 password: password,
5353 chainId: chainId)
54- XCTAssertEqual ( signature. toHexString ( ) , " bf3182a3f52e65b416f86e76851c8e7d5602aef28af694f31359705b039d8d1931d53f3d5088ac7195944e8a9188d161ba3757877d08105885304f65282228c71c " )
54+ XCTAssertEqual ( signature. toHexString ( ) , " c0567b120d3de6b3042ae3de1aa346e167454c675e1eaf40ea2f9de89e6a95c2783c1aa6c96aa1e0aaead4ae8901052fa9fd7abe4acb331adafd61610e93c3f01c " )
5555 }
5656
5757 func testWithChainId( ) throws {
@@ -102,6 +102,6 @@ class EIP712Tests: LocalTestCase {
102102 account: account!,
103103 password: password,
104104 chainId: chainId)
105- XCTAssertEqual ( signature. toHexString ( ) , " f1f423cb23efad5035d4fb95c19cfcd46d4091f2bd924680b88c4f9edfa1fb3a4ce5fc5d169f354e3b464f45a425ed3f6203af06afbacdc5c8224a300ce9e6b21b " )
105+ XCTAssertEqual ( signature. toHexString ( ) , " 9ee2aadf14739e1cafc3bc1a0b48457c12419d5b480a8ffa86eb7df538c82d0753ca2a6f8024dea576b383cbcbe5e2b181b087e489298674bf6512756cabc5b01b " )
106106 }
107107}
You can’t perform that action at this time.
0 commit comments