mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-25 18:51:39 +00:00
Tests compile
This commit is contained in:
@ -12,6 +12,11 @@ type Info struct {
|
||||
PubKey crypto.PubKey `json:"pubkey"`
|
||||
}
|
||||
|
||||
// Address is a helper function to calculate the address from the pubkey
|
||||
func (i Info) Address() []byte {
|
||||
return i.PubKey.Address()
|
||||
}
|
||||
|
||||
func (i Info) bytes() []byte {
|
||||
return wire.BinaryBytes(i)
|
||||
}
|
||||
|
Reference in New Issue
Block a user