We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4330304 commit 3ad9a6bCopy full SHA for 3ad9a6b
Sources/web3swift/Tokens/ERC20/ERC20BasePropertiesProvider.swift
@@ -21,8 +21,7 @@ public final class ERC20BasePropertiesProvider {
21
}
22
23
public func readProperties() async throws {
24
- guard !hasReadProperties else { return }
25
- guard contract.contract.address != nil else {return}
+ guard !hasReadProperties && contract.contract.address != nil else { return }
26
name = try await contract
27
.createReadOperation("name")?
28
.callContractMethod()["0"] as? String
0 commit comments