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:
Honza Rychnovský 2024-04-17 17:51:31 +02:00 committed by GitHub
parent 1833e866a7
commit 2a3c070a01
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 9 deletions

View File

@ -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()
}
}