Skip to content

Commit 095a51c

Browse files
fix for carthage
1 parent e728497 commit 095a51c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

web3swift/Transaction/Classes/EthereumTransaction.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ extension EthereumTransaction {
292292
case .manual(let value):
293293
self.gasPrice = value
294294
default:
295-
self.gasPrice = BigUInt(UInt64(5000000000))
295+
self.gasPrice = BigUInt("5000000000")!
296296
}
297297
}
298298

@@ -318,7 +318,7 @@ extension EthereumTransaction {
318318
case .manual(let value):
319319
tx.gasPrice = value
320320
default:
321-
tx.gasPrice = BigUInt(UInt64(5000000000))
321+
tx.gasPrice = BigUInt("5000000000")!
322322
}
323323
}
324324

web3swift/Web3/Classes/Web3+Structures.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ extension EthereumTransaction: Decodable {
151151
case .manual(let value):
152152
self.gasPrice = value
153153
default:
154-
self.gasPrice = BigUInt(5000000000)
154+
self.gasPrice = BigUInt("5000000000")!
155155
}
156156
}
157157

0 commit comments

Comments
 (0)