Skip to content
Snippets Groups Projects
Commit d4905fe4 authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Reset authenticated channels during batch add

parent f5589ce9
No related branches found
No related tags found
2 merge requests!231Revert "Update store to print changes to the partners list",!171RestoreContactsFromBackup
......@@ -11,6 +11,8 @@ package cmd
import (
"encoding/json"
"fmt"
"time"
"github.com/spf13/cobra"
jww "github.com/spf13/jwalterweatherman"
"github.com/spf13/viper"
......@@ -22,7 +24,6 @@ import (
"gitlab.com/elixxir/primitives/fact"
"gitlab.com/xx_network/primitives/id"
"gitlab.com/xx_network/primitives/utils"
"time"
)
// udCmd is the user discovery subcommand, which allows for user lookup,
......@@ -187,7 +188,7 @@ var udCmd = &cobra.Command{
jww.INFO.Printf("BATCHADD: contact %s", newContact)
addAuthenticatedChannel(client, newContact.ID, newContact)
resetAuthenticatedChannel(client, newContact.ID, newContact)
}
userDiscoveryMgr.BatchLookup(idList, cb, 90*time.Second)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment