Skip to content

Commit

Permalink
Merge pull request #2 from torusresearch/bigint5
Browse files Browse the repository at this point in the history
updated getpublicaddress
  • Loading branch information
rathishubham7 authored Dec 7, 2020
2 parents 681b57b + 02b118c commit c9716b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Sources/TorusUtils/TorusUtils.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ public class TorusUtils{
keyLookup.then{ lookupData -> Promise<[String: String]> in
let error = lookupData["err"]

if(true){
// if(error != nil){
if(error != nil){
// Assign key to the user and return (wraped in a promise)
return self.keyAssign(endpoints: endpoints, torusNodePubs: torusNodePubs, verifier: verifier, verifierId: verifierId).then{ data -> Promise<[String:String]> in
// Do keylookup again
Expand Down

0 comments on commit c9716b8

Please sign in to comment.