From f2ed1f01aea32ba8c2d89f6f1207f429b3f31eeb Mon Sep 17 00:00:00 2001 From: Francisco Gindre Date: Thu, 14 Jul 2022 17:55:16 -0300 Subject: [PATCH] - [#422] Make Zatoshi extensions of `NSDecimalNumber` public (#423) Closes #422 This helps Secant iOS compile since it relies on these APIs that were once internal to the app module --- Sources/ZcashLightClientKit/Model/Zatoshi.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ZcashLightClientKit/Model/Zatoshi.swift b/Sources/ZcashLightClientKit/Model/Zatoshi.swift index 1899f869..aaf6ba89 100644 --- a/Sources/ZcashLightClientKit/Model/Zatoshi.swift +++ b/Sources/ZcashLightClientKit/Model/Zatoshi.swift @@ -78,7 +78,7 @@ extension Zatoshi: Comparable { } } -extension NSDecimalNumber { +public extension NSDecimalNumber { /// Round the decimal to 8 fraction digits var roundedZec: NSDecimalNumber { self.rounding(accordingToBehavior: Zatoshi.decimalHandler)