Skip to content

Commit

Permalink
Fix typo in private key length error (#3265)
Browse files Browse the repository at this point in the history
  • Loading branch information
msmolyakov authored Sep 30, 2020
1 parent bb43029 commit 855eb6a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import com.wavesplatform.crypto.KeyLength

object PrivateKey extends TaggedType[ByteStr] {
def apply(privateKey: ByteStr): PrivateKey = {
require(privateKey.arr.length == KeyLength, s"invalid public key length: ${privateKey.arr.length}")
require(privateKey.arr.length == KeyLength, s"invalid private key length: ${privateKey.arr.length}")
privateKey @@ PrivateKey
}

Expand Down

0 comments on commit 855eb6a

Please sign in to comment.