Skip to content

Commit 7e4fdc1

Browse files
committed
fix: code spell
1 parent ab90bda commit 7e4fdc1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func spelunkData(value: Any?) -> (message: String, data: String)? {
2525
if (value == nil) {
2626
return nil
2727
}
28-
28+
2929
func spelunkRpcError(_ message: String, data: String) -> (message: String, data: String)? {
3030
if message.contains("revert") && data.isHex {
3131
return (message, data)

Sources/web3swift/Web3/Web3+Contract.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ extension Web3 {
4747

4848
// MARK: Writing Data flow
4949
// FIXME: Rewrite this to CodableTransaction
50-
/// Deploys a constact instance using the previously provided ABI, some bytecode, constructor parameters and options.
50+
/// Deploys a contract instance using the previously provided ABI, some bytecode, constructor parameters and options.
5151
/// If extraData is supplied it is appended to encoded bytecode and constructor parameters.
5252
///
5353
/// Returns a "Transaction intermediate" object.

0 commit comments

Comments
 (0)