Skip to content

Commit

Permalink
fix local key store test
Browse files Browse the repository at this point in the history
  • Loading branch information
0xh3rman committed Jun 2, 2024
1 parent b8fd0e0 commit 89f0584
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ extension LocalKeystore {
let id = NSUUID().uuidString
return LocalKeystore(
folder: id,
walletStore: WalletStore(db: DB(path: "\(id)..sqlite")),
walletStore: WalletStore(db: DB(path: "\(id).sqlite")),
preferences: preferences,
keystorePassword: keystorePassword
)
Expand Down
10 changes: 10 additions & 0 deletions Packages/Primitives/Sources/AssetDetails.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,16 @@ public struct AssetFull: Codable {
}
}

public struct AssetMarketPrice: Codable {
public let price: Price?
public let market: AssetMarket?

public init(price: Price?, market: AssetMarket?) {
self.price = price
self.market = market
}
}

public struct AssetDetailsInfo: Codable {
public let details: AssetDetails
public let market: AssetMarket
Expand Down

0 comments on commit 89f0584

Please sign in to comment.