Skip to content

Commit 24d43ac

Browse files
committed
spotted a colon with a leading space - fixed
restored a commented out doc comment to proper doc comment style ///
1 parent 6d2d78b commit 24d43ac

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Sources/web3swift/Web3/Web3+Contract.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ extension web3 {
1717
/// Web3 instance bound contract instance.
1818
public class web3contract {
1919
var contract: EthereumContract
20-
var web3 : web3
20+
var web3: web3
2121
public var transactionOptions: TransactionOptions? = nil
2222

2323
/// Initialize the bound contract instance by supplying the Web3 provider bound object, ABI, Ethereum address and some default

Sources/web3swift/Web3/Web3+Options.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,9 @@ public struct TransactionOptions {
158158
return newOptions
159159
}
160160
//
161-
// // merges two sets of options along with a gas estimate to try to guess the final gas limit value required by user.
162-
// //
163-
// // Please refer to the source code for a logic.
161+
// /// merges two sets of options along with a gas estimate to try to guess the final gas limit value required by user.
162+
// ///
163+
// /// Please refer to the source code for a logic.
164164
// public static func smartMergeGasLimit(originalOptions: Web3Options?, extraOptions: Web3Options?, gasEstimate: BigUInt) -> BigUInt? {
165165
// guard let mergedOptions = Web3Options.merge(originalOptions, with: extraOptions) else {return nil} // just require any non-nils
166166
// if mergedOptions.gasLimit == nil {

0 commit comments

Comments
 (0)