mirror of
https://github.com/tendermint/tendermint.git
synced 2025-12-23 14:25:19 +00:00
update envelope to match v0.35
This commit is contained in:
@@ -8,9 +8,9 @@ import (
|
||||
type ChannelDescriptor = conn.ChannelDescriptor
|
||||
type ConnectionStatus = conn.ConnectionStatus
|
||||
|
||||
// Envelope contains a message with sender routing info.
|
||||
type Envelope struct {
|
||||
// Src is set when the message was sent by a remote peer.
|
||||
Src Peer
|
||||
Src Peer // sender (empty if outbound)
|
||||
Message proto.Message // message payload
|
||||
ChannelID byte
|
||||
Message proto.Message
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user