[#428] make some helpers publicly accessible (#429)

Closes #428}

Helpers that were internal to Secant now are missing when we moved them to ZcashLightClientKit. This commit fixes that
This commit is contained in:
Francisco Gindre 2022-07-15 16:54:25 -03:00 committed by GitHub
parent a6bf465a6a
commit 4e260419e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ public protocol UnifiedAddress {
var zAddress: SaplingShieldedAddress { get } var zAddress: SaplingShieldedAddress { get }
} }
public struct WalletBalance { public struct WalletBalance: Equatable {
public var verified: Zatoshi public var verified: Zatoshi
public var total: Zatoshi public var total: Zatoshi

View File

@ -16,7 +16,7 @@ public struct Zatoshi {
public static var zero: Zatoshi { Zatoshi() } public static var zero: Zatoshi { Zatoshi() }
static let decimalHandler = NSDecimalNumberHandler( public static let decimalHandler = NSDecimalNumberHandler(
roundingMode: NSDecimalNumber.RoundingMode.bankers, roundingMode: NSDecimalNumber.RoundingMode.bankers,
scale: 8, scale: 8,
raiseOnExactness: true, raiseOnExactness: true,