From fd749069a116f11d17754137b8a27e0f60fb19b0 Mon Sep 17 00:00:00 2001 From: CodeSteak Date: Mon, 3 Jun 2019 18:28:53 +0200 Subject: [PATCH] fix Sha256.toString() --- .../main/kotlin/org/hso/texturesyncclient/model/DataModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/main/kotlin/org/hso/texturesyncclient/model/DataModel.kt b/client/src/main/kotlin/org/hso/texturesyncclient/model/DataModel.kt index 588006d..e75febd 100644 --- a/client/src/main/kotlin/org/hso/texturesyncclient/model/DataModel.kt +++ b/client/src/main/kotlin/org/hso/texturesyncclient/model/DataModel.kt @@ -52,7 +52,7 @@ class Sha256 { override fun toString(): String { val s = StringBuilder(64) for (byte in hashBytes) { - s.append(String.format("%02X"), byte) + s.append(String.format("%02X", byte)) } return s.toString() }