mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
whisper: warning removal
This commit is contained in:
parent
c94fb219c0
commit
989148b7c8
2 changed files with 13 additions and 11 deletions
|
|
@ -26,6 +26,8 @@ import (
|
||||||
inet "github.com/libp2p/go-libp2p-net"
|
inet "github.com/libp2p/go-libp2p-net"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// LibP2PStream is a wrapper used to implement the MsgReadWriter
|
||||||
|
// interface for libp2p's streams.
|
||||||
type LibP2PStream struct {
|
type LibP2PStream struct {
|
||||||
stream inet.Stream
|
stream inet.Stream
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -17,18 +17,18 @@
|
||||||
package whisperv6
|
package whisperv6
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"math"
|
|
||||||
"encoding/binary"
|
|
||||||
"context"
|
|
||||||
"bytes"
|
"bytes"
|
||||||
"testing"
|
"context"
|
||||||
|
"encoding/binary"
|
||||||
|
"math"
|
||||||
"math/rand"
|
"math/rand"
|
||||||
|
"testing"
|
||||||
|
|
||||||
"github.com/ethereum/go-ethereum/p2p"
|
"github.com/ethereum/go-ethereum/p2p"
|
||||||
host "github.com/libp2p/go-libp2p-host"
|
host "github.com/libp2p/go-libp2p-host"
|
||||||
|
inet "github.com/libp2p/go-libp2p-net"
|
||||||
mocknet "github.com/libp2p/go-libp2p/p2p/net/mock"
|
mocknet "github.com/libp2p/go-libp2p/p2p/net/mock"
|
||||||
testutil "github.com/libp2p/go-testutil"
|
testutil "github.com/libp2p/go-testutil"
|
||||||
inet "github.com/libp2p/go-libp2p-net"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue