Skip to content

Commit

Permalink
remove testnet blocker for objkt
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmcl committed Mar 14, 2024
1 parent b2a3f99 commit c6d83f5
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Sources/KukaiCoreSwift/Clients/ObjktClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,6 @@ public class ObjktClient {
Take in an array of contract addresses, and return a list of the ones that we currently have no metadata for
*/
public func unresolvedCollections(addresses: [String]) -> [String] {

// OBJKT doesn't currently support testnet, easy solution to prevent unwanted requests / processing until a solution is found
// But allow for XCTest, which targets testnet
if self.config.networkType == .testnet && !Thread.current.isRunningXCTest {
return []
}

var unresolved: [String] = []
for add in addresses {
if collections[add] == nil {
Expand Down

0 comments on commit c6d83f5

Please sign in to comment.