Skip to content

Commit fa322e6

Browse files
committed
[BinanceAuth] Fix Equatable conformance
1 parent 8061c94 commit fa322e6

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
//
2+
// BinanceAuth+Equatable.swift
3+
//
4+
//
5+
// Created by Fernando Fernandes on 03.01.24.
6+
//
7+
8+
import Foundation
9+
10+
extension BinanceAuth: Equatable {
11+
12+
public static func == (lhs: BinanceAuth, rhs: BinanceAuth) -> Bool {
13+
lhs.spot.apiKey == rhs.spot.apiKey &&
14+
lhs.spot.apiSecret == rhs.spot.apiSecret
15+
}
16+
}

0 commit comments

Comments
 (0)