Skip to content

Commit

Permalink
fix: addPrefix
Browse files Browse the repository at this point in the history
  • Loading branch information
ieow committed Jun 3, 2024
1 parent 44ad391 commit 55bcceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/TorusUtils/Extensions/String+Extension.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ extension String {
}

func add04Prefix(targetLength: Int = 128) -> String {
if !hasPrefix("04") && self.count == targetLength{
if self.count == targetLength{
return "04" + self
}
return self
Expand Down

0 comments on commit 55bcceb

Please sign in to comment.