mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-02-25 12:27:24 +08:00
reconnect to correct peer
This commit is contained in:
parent
ad55d280f8
commit
54ebd9acb8
@ -131,7 +131,7 @@ var allCmd = &cobra.Command{
|
||||
time.Sleep(10 * time.Second)
|
||||
cc.Close()
|
||||
cc = nil
|
||||
err = pubSub.Reconnect([]byte(peerId))
|
||||
err = pubSub.Reconnect([]byte(bpeerId))
|
||||
if err != nil {
|
||||
logger.Error(
|
||||
"got error response, waiting...",
|
||||
@ -234,7 +234,7 @@ var allCmd = &cobra.Command{
|
||||
cc.Close()
|
||||
cc = nil
|
||||
time.Sleep(10 * time.Second)
|
||||
err = pubSub.Reconnect([]byte(peerId))
|
||||
err = pubSub.Reconnect([]byte(bpeerId))
|
||||
if err != nil {
|
||||
logger.Error(
|
||||
"got error response, waiting...",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user