Skip to content

Commit f668107

Browse files
committed
chore: apply lint
1 parent d42c851 commit f668107

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

web3swift/src/Extensions/HexExtensions.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ public extension Web3Extensions where Base == String {
8080
}
8181

8282
var orZero: String {
83-
if base.isEmpty { return "0" }
83+
if base.isEmpty {
84+
return "0"
85+
}
8486
return base
8587
}
8688

web3swift/src/Utils/KeyUtil.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
//
55

66
import Logging
7-
import libsecp256k1
87
import Foundation
8+
import libsecp256k1
99

1010
public enum KeyUtilError: Error {
1111
case invalidContext

0 commit comments

Comments
 (0)