Skip to content

Commit e77af0a

Browse files
fix: EIP712 - change type to AbstractKeystore from BIP32Keystore
1 parent 0b0b3fa commit e77af0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/web3swift/Web3/Web3+Signing.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public struct Web3Signer {
4141
}
4242

4343
public static func signEIP712(_ eip712TypedDataPayload: EIP712TypedData,
44-
keystore: BIP32Keystore,
44+
keystore: AbstractKeystore,
4545
account: EthereumAddress,
4646
password: String? = nil) throws -> Data {
4747
let hash = try eip712TypedDataPayload.signHash()
@@ -57,7 +57,7 @@ public struct Web3Signer {
5757
}
5858

5959
public static func signEIP712(_ eip712Hashable: EIP712Hashable,
60-
keystore: BIP32Keystore,
60+
keystore: AbstractKeystore,
6161
verifyingContract: EthereumAddress,
6262
account: EthereumAddress,
6363
password: String? = nil,

0 commit comments

Comments
 (0)