Fix renaming of signature of function
the build was successful Papildu informācija

This commit is contained in:
Sofía Celi 2019-11-29 21:11:12 -05:00
vecāks eff9594196
revīzija 7e3b5420d9
Šim parakstam datu bāzē netika atrasta zināma atslēga
GPG atslēgas ID: 008222C3AEE7208A
2 mainīti faili ar 2 papildinājumiem un 2 dzēšanām

Parādīt failu

@ -94,7 +94,7 @@ func (ac *applicationCore) CreatePeer(name string) (*model.Profile, error) {
// CreatePeer creates a new Peer with the given name and required accessories (eventbus, storage, protocol engine)
func (app *application) CreatePeer(name string, password string) {
profile, err := app.applicationCore.CreatePeer(name, password)
profile, err := app.applicationCore.CreatePeer(name)
if err != nil {
app.appBus.Publish(event.NewEventList(event.PeerError, event.Error, err.Error()))
return

Parādīt failu

@ -81,7 +81,7 @@ func (as *applicationService) handleEvent(ev *event.Event) {
func (as *applicationService) createPeer(name, password string) {
log.Infof("app Service create peer %v %v\n", name, password)
profile, err := as.applicationCore.CreatePeer(name, password)
profile, err := as.applicationCore.CreatePeer(name)
as.eventBuses[profile.Onion] = event.IPCEventManagerFrom(as.bridge, profile.Onion, as.eventBuses[profile.Onion])
if err != nil {
log.Errorf("Could not create Peer: %v\n", err)