mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +00:00
whisper: moved a constant
This commit is contained in:
parent
90cf7a1727
commit
9f26907196
1 changed files with 0 additions and 1 deletions
|
|
@ -51,7 +51,6 @@ type Envelope struct {
|
|||
|
||||
// size returns the size of envelope as it is sent (i.e. public fields only)
|
||||
func (e *Envelope) size() int {
|
||||
const EnvelopeHeaderLength = 20
|
||||
return EnvelopeHeaderLength + len(e.Data)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue