From b6a4ca6b3c4203802f0143b2cb407c10baf75a0e Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Wed, 25 Oct 2017 23:15:57 -0400 Subject: [PATCH] remove testutil --- testutil/messages.go | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 testutil/messages.go diff --git a/testutil/messages.go b/testutil/messages.go deleted file mode 100644 index 0cdddb443..000000000 --- a/testutil/messages.go +++ /dev/null @@ -1,17 +0,0 @@ -package testutil - -import ( - "github.com/tendermint/abci/types" - "github.com/tendermint/go-crypto" -) - -//---------------------------------------- - -// UTILITY -func Validator(secret string, power uint64) *types.Validator { - privKey := crypto.GenPrivKeyEd25519FromSecret([]byte(secret)) - return &types.Validator{ - PubKey: privKey.PubKey().Bytes(), - Power: power, - } -}