mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-04 07:07:13 +00:00
type Ed25519[Signature|PubKey] struct{[]byte} -> []byte
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
func randValidator_() *Validator {
|
||||
return &Validator{
|
||||
Address: RandBytes(20),
|
||||
PubKey: PubKeyEd25519{RandBytes(64)},
|
||||
PubKey: PubKeyEd25519(RandBytes(64)),
|
||||
BondHeight: uint(RandUint32()),
|
||||
VotingPower: RandUint64(),
|
||||
Accum: int64(RandUint64()),
|
||||
|
||||
Reference in New Issue
Block a user