mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +00:00
whisper: gofmt to quell linter
This commit is contained in:
parent
82bc100542
commit
ae8c0743cc
1 changed files with 11 additions and 11 deletions
|
|
@ -17,12 +17,12 @@
|
|||
package whisperv6
|
||||
|
||||
import (
|
||||
"bufio"
|
||||
"bytes"
|
||||
"fmt"
|
||||
"github.com/ethereum/go-ethereum/rlp"
|
||||
"io/ioutil"
|
||||
"time"
|
||||
"bufio"
|
||||
"github.com/ethereum/go-ethereum/rlp"
|
||||
"fmt"
|
||||
|
||||
"github.com/ethereum/go-ethereum/p2p"
|
||||
inet "github.com/libp2p/go-libp2p-net"
|
||||
|
|
@ -67,7 +67,7 @@ func (stream *LibP2PStream) WriteMsg(msg p2p.Msg) error {
|
|||
if err != nil {
|
||||
return fmt.Errorf("Error reading payload: %v", err)
|
||||
}
|
||||
m := serializableP2PMsg {msg.Code, msg.Size, payload, msg.ReceivedAt}
|
||||
m := serializableP2PMsg{msg.Code, msg.Size, payload, msg.ReceivedAt}
|
||||
|
||||
data, err := rlp.EncodeToBytes(m)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue