Fixed a Swift 5.10 and Swift 6.0 compilation issue found on the "init(privateKey: publicKey: )" initializer function of the GenerateHashUseCase use case in the library target. (#6)
This PR contains the work done to fix a [Swift 5.10](https://swiftpackageindex.com/builds/780C768F-B00B-4F96-90E7-BFB0D2E7C47E) and [Swift 6.0](https://swiftpackageindex.com/builds/4D0AA35C-1F9E-4725-A02F-03FACF74DE10) compilation issue found by the Swift Package Index. Reviewed-on: #6 Co-authored-by: Javier Cicchelli <javier@rock-n-code.com> Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
This commit was merged in pull request #6.
This commit is contained in:
@@ -34,7 +34,7 @@ struct GenerateHashUseCase {
|
||||
/// - publicKey: A public key.
|
||||
init(
|
||||
privateKey: String,
|
||||
publicKey: String,
|
||||
publicKey: String
|
||||
) {
|
||||
self.privateKey = privateKey
|
||||
self.publicKey = publicKey
|
||||
|
||||
Reference in New Issue
Block a user