Fix p2p/peers TestPeers_RandomPeers test
## Motivation
`TestPeers_RandomPeers` test calls `GetPeers()` function, which returns peers in random order.
In particular, test checks two consecutive results from `GetPeers()`, they
shouldn't be equal. But somethimes it is.
## Changes
To make this test more predictable, rand `seed` have to be reset.
@@ -97,6 +97,7 @@ func TestPeers_RemovePeer(t *testing.T) {
func TestPeers_RandomPeers(t *testing.T) {
pi, n, _ := getPeers(service.NewSimulator().NewNode())
+ pi.rand.Seed(0)
a := p2pcrypto.NewRandomPubkey()
b := p2pcrypto.NewRandomPubkey()
c := p2pcrypto.NewRandomPubkey()
