Skip to content

Commit

Permalink
fix: fix conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
ieow committed Apr 3, 2024
1 parent 68b1c7b commit 7a5caa3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/SingleFactorAuth/SingleFactorAuth.swift
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ public class SingleFactorAuth {
] as [String: Codable]

let verifierParams = VerifierParams(verifier_id: loginParams.verifierId)

let aggregateIdToken = String(String(bytes: aggregateIdTokenSeeds.joined(separator: "\u{001d}").bytes.sha3(.keccak256)).dropFirst(2)) // drop 0x
let aggregateIdToken = aggregateIdTokenSeeds.joined(separator: "\u{001d}").bytes.sha3(.keccak256).toHexString() // drop 0x

retrieveSharesResponse = try await torusUtils.retrieveShares(
endpoints: details.getTorusNodeEndpoints(),
Expand Down

0 comments on commit 7a5caa3

Please sign in to comment.