comment out testing echo bot till its updated to new downstream ricochet changes

This commit is contained in:
Dan Ballard 2018-01-21 14:52:57 -08:00
parent 4567e4199c
commit 91b8c14464
1 changed files with 3 additions and 3 deletions

View File

@ -1,11 +1,9 @@
package goRicochetMobile package goRicochetMobile
import ( import (
"github.com/s-rah/go-ricochet/application"
"github.com/s-rah/go-ricochet/utils" "github.com/s-rah/go-ricochet/utils"
"log" "log"
"net/http" "net/http"
"time"
"github.com/yawning/bulb/utils/pkcs1" "github.com/yawning/bulb/utils/pkcs1"
"crypto/rsa" "crypto/rsa"
"github.com/ricochet-im/ricochet-go/core/config" "github.com/ricochet-im/ricochet-go/core/config"
@ -76,6 +74,8 @@ func TestNet() (ok bool, ex error) {
return true, nil return true, nil
} }
// TODO: update EchoBot test
/*
func EchoBot(privateKeyData string) { func EchoBot(privateKeyData string) {
privateKey, err := utils.ParsePrivateKey([]byte(privateKeyData)) privateKey, err := utils.ParsePrivateKey([]byte(privateKeyData))
if err != nil { if err != nil {
@ -97,4 +97,4 @@ func EchoBot(privateKeyData string) {
}) })
log.Printf("echobot started on %s", l.Addr().String()) log.Printf("echobot started on %s", l.Addr().String())
echobot.Run(l) echobot.Run(l)
} }*/