Skip to content

Commit

Permalink
fix: code spell
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangliugang committed Nov 27, 2023
1 parent ab90bda commit 7e4fdc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func spelunkData(value: Any?) -> (message: String, data: String)? {
if (value == nil) {
return nil
}

func spelunkRpcError(_ message: String, data: String) -> (message: String, data: String)? {
if message.contains("revert") && data.isHex {
return (message, data)
Expand Down
2 changes: 1 addition & 1 deletion Sources/web3swift/Web3/Web3+Contract.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ extension Web3 {

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

0 comments on commit 7e4fdc1

Please sign in to comment.