Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix for carthage
  • Loading branch information
zkToha committed Mar 4, 2019
commit e72849740b0a681ab6995e572041228fad3131f6
8 changes: 4 additions & 4 deletions web3swift/Transaction/Classes/EthereumTransaction.swift
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ extension EthereumTransaction {
case .manual(let value):
self.gasPrice = value
default:
self.gasPrice = BigUInt(5000000000)
self.gasPrice = BigUInt(UInt64(5000000000))
}
}

Expand All @@ -301,7 +301,7 @@ extension EthereumTransaction {
case .manual(let value):
self.gasLimit = value
default:
self.gasLimit = BigUInt(21000)
self.gasLimit = BigUInt(UInt64(21000))
}
}

Expand All @@ -318,7 +318,7 @@ extension EthereumTransaction {
case .manual(let value):
tx.gasPrice = value
default:
tx.gasPrice = BigUInt(5000000000)
tx.gasPrice = BigUInt(UInt64(5000000000))
}
}

Expand All @@ -327,7 +327,7 @@ extension EthereumTransaction {
case .manual(let value):
tx.gasLimit = value
default:
tx.gasLimit = BigUInt(21000)
tx.gasLimit = BigUInt(UInt64(21000))
}
}

Expand Down