diff --git a/wallets/bitcoind/build-logic/gradle-tasks/src/main/kotlin/bisq/gradle/tasks/OS.kt b/wallets/bitcoind/build-logic/gradle-tasks/src/main/kotlin/bisq/gradle/tasks/OS.kt index 0c275e7365..aa8fdc8e76 100644 --- a/wallets/bitcoind/build-logic/gradle-tasks/src/main/kotlin/bisq/gradle/tasks/OS.kt +++ b/wallets/bitcoind/build-logic/gradle-tasks/src/main/kotlin/bisq/gradle/tasks/OS.kt @@ -7,7 +7,7 @@ enum class OS { } fun getOS(): OS { - val osName = System.getProperty("os.name").lowercase(Locale.US) + val osName = System.getProperty("os.name").toLowerCase(Locale.US) if (isLinux(osName)) { return OS.LINUX } else if (isMacOs(osName)) { diff --git a/wallets/bitcoind/build-logic/gradle-tasks/src/main/kotlin/bisq/gradle/tasks/PgpFingerprint.kt b/wallets/bitcoind/build-logic/gradle-tasks/src/main/kotlin/bisq/gradle/tasks/PgpFingerprint.kt index c50594032c..3c08588cf6 100644 --- a/wallets/bitcoind/build-logic/gradle-tasks/src/main/kotlin/bisq/gradle/tasks/PgpFingerprint.kt +++ b/wallets/bitcoind/build-logic/gradle-tasks/src/main/kotlin/bisq/gradle/tasks/PgpFingerprint.kt @@ -3,5 +3,5 @@ package bisq.gradle.tasks object PgpFingerprint { fun normalize(fingerprint: String): String = fingerprint.filterNot { it.isWhitespace() } // Remove all spaces - .lowercase() + .toLowerCase() } \ No newline at end of file