Skip to content

Commit e728497

Browse files
fix for carthage
1 parent f8fac77 commit e728497

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

web3swift/Transaction/Classes/EthereumTransaction.swift

Lines changed: 4 additions & 4 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(5000000000)
295+
self.gasPrice = BigUInt(UInt64(5000000000))
296296
}
297297
}
298298

@@ -301,7 +301,7 @@ extension EthereumTransaction {
301301
case .manual(let value):
302302
self.gasLimit = value
303303
default:
304-
self.gasLimit = BigUInt(21000)
304+
self.gasLimit = BigUInt(UInt64(21000))
305305
}
306306
}
307307

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

@@ -327,7 +327,7 @@ extension EthereumTransaction {
327327
case .manual(let value):
328328
tx.gasLimit = value
329329
default:
330-
tx.gasLimit = BigUInt(21000)
330+
tx.gasLimit = BigUInt(UInt64(21000))
331331
}
332332
}
333333

0 commit comments

Comments
 (0)