Set isDisabled by default

pull/2/head
Miachel Scoff 7 years ago
parent 1262a58030
commit 6f7abd25c0
  1. 2
      Trust/Tokens/Types/TokenObject.swift
  2. 2
      Trust/Transfer/Controllers/TransactionConfigurator.swift

@ -25,7 +25,7 @@ class TokenObject: Object {
decimals: Int = 0,
value: String,
isCustom: Bool = false,
isDisabled: Bool = true,
isDisabled: Bool = false,
type: TokenType = .token
) {
self.init()

@ -33,7 +33,7 @@ class TransactionConfigurator {
self.session = session
self.transaction = transaction
self.gasPrice = gasPrice
self.configuration = TransactionConfiguration(
gasPrice: min(max(gasPrice ?? GasPriceConfiguration.default, GasPriceConfiguration.min), GasPriceConfiguration.max),
gasLimit: GasLimitConfiguration.default,

Loading…
Cancel
Save