Code cleanup

This commit is contained in:
Lukas Korba 2024-12-13 10:22:33 +01:00
parent da00a69b49
commit f16d098925
2 changed files with 1 additions and 17 deletions

View File

@ -16,12 +16,6 @@ let package = Package(
dependencies: [
.package(url: "https://github.com/grpc/grpc-swift.git", from: "1.24.2"),
.package(url: "https://github.com/stephencelis/SQLite.swift.git", from: "0.15.3"),
// .package(url: "https://github.com/Electric-Coin-Company/zcash-light-client-ffi", exact: "0.11.0")
// .package(url: "https://github.com/Electric-Coin-Company/zcash-light-client-ffi", branch: "preview/account_uuids")
// .package(url: "https://github.com/Electric-Coin-Company/zcash-light-client-ffi", revision: "a04a3081dca0c35d503b68615077ecc18868c812")
// .package(url: "https://github.com/Electric-Coin-Company/zcash-light-client-ffi", revision: "78627722c39131fe57bfdf6645eab54a4760de40")
// .package(url: "https://github.com/Electric-Coin-Company/zcash-light-client-ffi", revision: "4be72b19a2262e56e7e5c2e09a618f4e2324263d")
// .package(url: "https://github.com/Electric-Coin-Company/zcash-light-client-ffi", revision: "64928ba88884285796be7ada87ec96c0f931d78d")
.package(url: "https://github.com/Electric-Coin-Company/zcash-light-client-ffi", revision: "2487d2cd04128c6e5d7a53d29b11d8c06197b840")
],
targets: [

View File

@ -112,16 +112,6 @@ class WalletTransactionEncoder: TransactionEncoder {
)
return try await createTransactionsFromTxIds(txIds)
// logger.debug("transaction ids: \(txIds)")
//
// var txs: [ZcashTransaction.Overview] = []
//
// for txId in txIds {
// txs.append(try await repository.find(rawID: txId))
// }
//
// return txs
}
func createTransactionsFromTxIds(_ txIds: [Data]) async throws -> [ZcashTransaction.Overview] {
@ -139,7 +129,7 @@ class WalletTransactionEncoder: TransactionEncoder {
return txs
}
func submit(
transaction: EncodedTransaction
) async throws {