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 {
292
292
case . manual( let value) :
293
293
self . gasPrice = value
294
294
default :
295
- self . gasPrice = BigUInt ( 5000000000 )
295
+ self . gasPrice = BigUInt ( UInt64 ( 5000000000 ) )
296
296
}
297
297
}
298
298
@@ -301,7 +301,7 @@ extension EthereumTransaction {
301
301
case . manual( let value) :
302
302
self . gasLimit = value
303
303
default :
304
- self . gasLimit = BigUInt ( 21000 )
304
+ self . gasLimit = BigUInt ( UInt64 ( 21000 ) )
305
305
}
306
306
}
307
307
@@ -318,7 +318,7 @@ extension EthereumTransaction {
318
318
case . manual( let value) :
319
319
tx. gasPrice = value
320
320
default :
321
- tx. gasPrice = BigUInt ( 5000000000 )
321
+ tx. gasPrice = BigUInt ( UInt64 ( 5000000000 ) )
322
322
}
323
323
}
324
324
@@ -327,7 +327,7 @@ extension EthereumTransaction {
327
327
case . manual( let value) :
328
328
tx. gasLimit = value
329
329
default :
330
- tx. gasLimit = BigUInt ( 21000 )
330
+ tx. gasLimit = BigUInt ( UInt64 ( 21000 ) )
331
331
}
332
332
}
333
333
You can’t perform that action at this time.
0 commit comments