Skip to content

Commit

Permalink
Merge 772a70d into 32c33ec
Browse files Browse the repository at this point in the history
  • Loading branch information
robdefeo committed Jan 31, 2020
2 parents 32c33ec + 772a70d commit 3cacc44
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions crypto/sr25519/sr25519test/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ var SofiaPublicKey crypto.PublicKey //nolint: gochecknoglobals test key
var CharlottePrivateKey crypto.PrivateKey //nolint: gochecknoglobals test key
// CharlottePublicKey sr25519 key for testing purposes. Key is compromised do not use on mainnet's.
var CharlottePublicKey crypto.PublicKey //nolint: gochecknoglobals test key
// EvePrivateKey sr25519 key for testing purposes. Key is compromised do not use on mainnet's.
var EvePrivateKey crypto.PrivateKey //nolint: gochecknoglobals test key
// EvePublicKey sr25519 key for testing purposes. Key is compromised do not use on mainnet's.
var EvePublicKey crypto.PublicKey //nolint: gochecknoglobals test key

//nolint: gochecknoinits test key
func init() {
Expand All @@ -33,4 +37,11 @@ func init() {
}

CharlottePublicKey = CharlottePrivateKey.PublicKey()

EvePrivateKey, err = sr25519.PrivateKeyFromBytes(encodingtest.MustDecodeHex("000102030405060708090a0b0c0d0e0f000102030405060708090a0b0c0d0e0f")) //nolint: lll test key
if err != nil {
log.Fatal(err)
}

EvePublicKey = EvePrivateKey.PublicKey()
}

0 comments on commit 3cacc44

Please sign in to comment.