Remove logs stripping check entirely (#1444)
- As ensuring the check should be applied is not possible for a library that depends on clients build type and their different use cases - Stripping tested manually with different client wallets, and it works as expected
This commit is contained in:
parent
1833e866a7
commit
2a3c070a01
|
@ -571,8 +571,6 @@ interface Synchronizer {
|
|||
|
||||
validateAlias(alias)
|
||||
|
||||
validateLogging()
|
||||
|
||||
val saplingParamTool = SaplingParamTool.new(applicationContext)
|
||||
|
||||
val loadedCheckpoint =
|
||||
|
@ -741,10 +739,3 @@ private fun validateAlias(alias: String) {
|
|||
"characters and only contain letters, digits, hyphens, and underscores."
|
||||
}
|
||||
}
|
||||
|
||||
private fun validateLogging() {
|
||||
if (BuildConfig.BUILD_TYPE == "release") {
|
||||
// In release builds, logs should be stripped by R8 rules
|
||||
Twig.assertLoggingStripped()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue