Skip to content

Commit

Permalink
change properties visibility to avoid mutations without using the set…
Browse files Browse the repository at this point in the history
…ters
  • Loading branch information
albertopeam committed Jan 8, 2023
1 parent ee26d1e commit e52ad04
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Sources/web3swift/Utils/ENS/ENS.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import Web3Core
public class ENS {

public let web3: Web3
public var registry: Registry
public var resolver: Resolver?
public var baseRegistrar: BaseRegistrar?
public var registrarController: ETHRegistrarController?
public var reverseRegistrar: ReverseRegistrar?
public let registry: Registry
private(set) var resolver: Resolver?
private(set) var baseRegistrar: BaseRegistrar?
private(set) var registrarController: ETHRegistrarController?
private(set) var reverseRegistrar: ReverseRegistrar?

public init?(web3: Web3) {
self.web3 = web3
Expand Down

0 comments on commit e52ad04

Please sign in to comment.