File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
web3swift/Transaction/Classes Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments