Skip to content

Commit

Permalink
[TIDY] Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
DarthMike committed Feb 27, 2023
1 parent 560586a commit 9c4e4f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions web3swift/src/Client/Models/EthereumAddress.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
// Copyright © 2022 Argent Labs Limited. All rights reserved.
//

import Foundation
import BigInt
import Foundation

public struct EthereumAddress: Codable, Hashable {
@available(*, deprecated, message: "Shouldn't rely on the actual String representation. Use asString() instead to get an unformatted representation")
public var value: String {
@available(*, deprecated, message: "Shouldn't rely on the actual String representation. Use asString() instead to get an unformatted representation") public var value: String {
raw
}

private let raw: String
public static let zero: Self = "0x0000000000000000000000000000000000000000"

Expand Down
2 changes: 1 addition & 1 deletion web3swift/src/Utils/RLP.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ struct RLP {
}

static func encodeAddress(_ address: EthereumAddress) -> Data? {
return encodeString(address.asString())
encodeString(address.asString())
}

static func encodeInt(_ int: Int) -> Data? {
Expand Down

0 comments on commit 9c4e4f5

Please sign in to comment.