Fix Transfer() when removing a peer, so we actually target the other peer.
This commit is contained in:
1 parent
1326994a6d
commit
ca6e54890c
1 file changed
+1
-1
@@ -650,7 +650,7 @@ func TestFuzzRingHard(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
common.Debug.Printf("%s: transferring from peer %s", otherPeername, peername)
|
common.Debug.Printf("%s: transferring from peer %s", otherPeername, peername)
|
||||||
otherRing.Transfer(peername, peername)
|
otherRing.Transfer(peername, otherPeername)
|
||||||
|
|
||||||
// And now tell everyone about the transfer - rmpeer is
|
// And now tell everyone about the transfer - rmpeer is
|
||||||
// not partition safe
|
// not partition safe
|
||||||
|
|||||||
Reference in new issue
Block a user