diff --git a/Packages/Keystore/Tests/KeystoreTests/LocalKeystoreTests.swift b/Packages/Keystore/Tests/KeystoreTests/LocalKeystoreTests.swift index fbac664a..1104cb2b 100644 --- a/Packages/Keystore/Tests/KeystoreTests/LocalKeystoreTests.swift +++ b/Packages/Keystore/Tests/KeystoreTests/LocalKeystoreTests.swift @@ -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 ) diff --git a/Packages/Primitives/Sources/AssetDetails.swift b/Packages/Primitives/Sources/AssetDetails.swift index 057e0979..d5a0ec98 100644 --- a/Packages/Primitives/Sources/AssetDetails.swift +++ b/Packages/Primitives/Sources/AssetDetails.swift @@ -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