with new contract

pull/177/head
James Sangalli 7 years ago
parent 43ffe86a0e
commit 187bef5ad6
  1. 2
      Trust/Settings/Types/Constants.swift
  2. 2
      Trust/Tokens/ViewModels/NewTokenViewModel.swift

@ -21,7 +21,7 @@ public struct Constants {
public static let dappsBrowserURL = "https://dapps.trustwalletapp.com"
//FIFA hardcoded FIFA token address. Look for "//FIFA" for relevant changes
public static let fifaContractAddress = "0xE73b0F78cAfdD4108B6C4Cf0B4ed209FBce8A82B"
public static let fifaContractAddress = "0xd9161204f675200776a8f1BbCfAe5943cC6fe842"
}
public struct UnitConfiguration {

@ -13,7 +13,7 @@ struct NewTokenViewModel {
var balance = 0
if !stormBirdBalance.isEmpty {
for i in 0...stormBirdBalance.count - 1 {
if Int(stormBirdBalance[i], radix: 16)! > 0 {
if stormBirdBalance[i] != "0x0000000000000000000000000000000000000000000000000000000000000000" {
balance += 1
}
}

Loading…
Cancel
Save