Skip to content

Commit 07c7ad3

Browse files
authored
Fix typo discovered by codespell
1 parent 5ec651f commit 07c7ad3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Web3Core/KeystoreManager/IBAN.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ public struct IBAN {
6464

6565
internal static func decodeToInts(_ iban: String) -> String {
6666
let uppercasedIBAN = iban.replacingOccurrences(of: " ", with: "").uppercased()
67-
let begining = String(uppercasedIBAN[0..<4])
67+
let beginning = String(uppercasedIBAN[0..<4])
6868
let end = String(uppercasedIBAN[4...])
69-
let IBAN = end + begining
69+
let IBAN = end + beginning
7070
var arrayOfInts = [Int]()
7171
for ch in IBAN {
7272
guard let dataPoint = String(ch).data(using: .ascii) else {return ""}

0 commit comments

Comments
 (0)