Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit fe32076

Browse files
authored
Remove manual TransactionExtended Hashable/Equatable (#1726)
No longer needed - protocols are now auto-generated from core typeshare.
1 parent c8c7bab commit fe32076

5 files changed

Lines changed: 4 additions & 20 deletions

File tree

Packages/Primitives/Sources/Extensions/TransactionExtended+Primitives.swift

Lines changed: 0 additions & 16 deletions
This file was deleted.

Packages/Primitives/Sources/Transaction.swift

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

55
import Foundation
66

7-
public struct Transaction: Codable, Equatable, Sendable {
7+
public struct Transaction: Codable, Equatable, Hashable, Sendable {
88
public let id: TransactionId
99
public let assetId: AssetId
1010
public let from: String

Packages/Primitives/Sources/TransactionExtended.swift

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

55
import Foundation
66

7-
public struct TransactionExtended: Codable, Sendable {
7+
public struct TransactionExtended: Codable, Equatable, Hashable, Sendable {
88
public let transaction: Transaction
99
public let asset: Asset
1010
public let feeAsset: Asset

Packages/Primitives/Sources/TransactionUtxo.swift

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

55
import Foundation
66

7-
public struct TransactionUtxoInput: Codable, Equatable, Sendable {
7+
public struct TransactionUtxoInput: Codable, Equatable, Hashable, Sendable {
88
public let address: String
99
public let value: String
1010

core

Submodule core updated 96 files

0 commit comments

Comments
 (0)