Skip to content

Commit

Permalink
update.gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzhiyou1990 committed Sep 13, 2021
1 parent 42f6316 commit 3f87f89
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 84 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,4 @@ fastlane/test_output
API_keys.plist

.DS_Store
Package.resolved
7 changes: 7 additions & 0 deletions .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

16 changes: 0 additions & 16 deletions Carthage/Checkouts/Starscream/Package.resolved

This file was deleted.

52 changes: 0 additions & 52 deletions Package.resolved

This file was deleted.

3 changes: 3 additions & 0 deletions Sources/web3swift/Transaction/EthereumTransaction.swift
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,9 @@ public struct EthereumTransaction: CustomStringConvertible {
if method == .estimateGas || transactionOptions?.gasLimit == nil {
txParams.gas = nil
}
if method == .estimateGas || transactionOptions?.gasPrice == nil {
txParams.gasPrice = nil
}
var params = [txParams] as Array<Encodable>
if method.requiredNumOfParameters == 2 && onBlock != nil {
params.append(onBlock as Encodable)
Expand Down

0 comments on commit 3f87f89

Please sign in to comment.