We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 737b1e7 commit e0303e3Copy full SHA for e0303e3
Blockchain/Sources/Blockchain/Types/Ticket.swift
@@ -1,15 +1,10 @@
1
-import Codec
2
import Utils
3
4
-public struct Ticket: @unchecked Sendable, Equatable, Codable {
+public struct Ticket: Sendable, Equatable, Codable {
5
// y
6
public var id: Data32
7
// r
8
- @CodingAs<Compact<TicketIndex>> public var attempt: TicketIndex
9
-
10
- public static func == (lhs: Ticket, rhs: Ticket) -> Bool {
11
- lhs.id == rhs.id && lhs.attempt == rhs.attempt
12
- }
+ public var attempt: TicketIndex
13
}
14
15
extension Ticket: Dummy {
0 commit comments