Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmcl committed Jan 23, 2024
1 parent 30b765a commit 854cd9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/KukaiCoreSwift/Services/TorusAuthService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ public class TorusAuthService: NSObject {
}

let data = try await self.torusUtils.getPublicAddress(endpoints: nd.getTorusNodeEndpoints(), torusNodePubs: nd.getTorusNodePub(), verifier: verifierName, verifierId: socialUserId, isExtended: true)
var pubX = data.x?.padLeft(toLength: 64, withPad: "0")
var pubY = data.y?.padLeft(toLength: 64, withPad: "0")
let pubX = data.x?.padLeft(toLength: 64, withPad: "0")
let pubY = data.y?.padLeft(toLength: 64, withPad: "0")

guard let x = pubX,
let y = pubY,
Expand Down

0 comments on commit 854cd9e

Please sign in to comment.