Skip to content

Commit

Permalink
Merge pull request #245 from simple-robot/dev/main
Browse files Browse the repository at this point in the history
Release: v4.1.2
  • Loading branch information
ForteScarlet authored Nov 7, 2024
2 parents ddf082f + 4ae4ae2 commit 21369b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/P.kt
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ object P {
override val homepage: String get() = HOMEPAGE


const val VERSION = "4.1.1"
const val NEXT_VERSION = "4.1.2"
const val VERSION = "4.1.2"
const val NEXT_VERSION = "4.1.3"

override val snapshotVersion = "$NEXT_VERSION-SNAPSHOT"
override val version = if (isSnapshot()) snapshotVersion else VERSION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ internal class BotImpl(

val msg = "$signatureTimestamp$payload"

check(ed25519PublicKey.verify(msg.toByteArray(), signatureBytes)) {
check(ed25519PublicKey.verify(signature = signatureBytes, message = msg.toByteArray())) {
"Ed25519 verify failed"
}
}
Expand Down

0 comments on commit 21369b7

Please sign in to comment.