rust: Define private constant for enabling ZIP 317 fees
This commit is contained in:
parent
727918680e
commit
8472d84cce
|
@ -228,7 +228,7 @@ internal class RustBackend private constructor(
|
|||
File(saplingParamDir, SaplingParamTool.SPEND_PARAM_FILE_NAME).absolutePath,
|
||||
File(saplingParamDir, SaplingParamTool.OUTPUT_PARAM_FILE_NAME).absolutePath,
|
||||
networkId = network.id,
|
||||
useZip317Fees = false
|
||||
useZip317Fees = IS_USE_ZIP_317_FEES
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -245,7 +245,7 @@ internal class RustBackend private constructor(
|
|||
File(saplingParamDir, SaplingParamTool.SPEND_PARAM_FILE_NAME).absolutePath,
|
||||
File(saplingParamDir, SaplingParamTool.OUTPUT_PARAM_FILE_NAME).absolutePath,
|
||||
networkId = network.id,
|
||||
useZip317Fees = false
|
||||
useZip317Fees = IS_USE_ZIP_317_FEES
|
||||
)
|
||||
}
|
||||
}
|
||||
|
@ -327,6 +327,7 @@ internal class RustBackend private constructor(
|
|||
*/
|
||||
companion object {
|
||||
internal val rustLibraryLoader = NativeLibraryLoader("zcashwalletsdk")
|
||||
private const val IS_USE_ZIP_317_FEES = false
|
||||
|
||||
/**
|
||||
* Loads the library and initializes path variables. Although it is best to only call this
|
||||
|
|
Loading…
Reference in New Issue