Skip to content

Commit

Permalink
fix(network): remove ble temporarily
Browse files Browse the repository at this point in the history
Signed-off-by: Godefroy Ponsinet <godefroy.ponsinet@outlook.com>
  • Loading branch information
90dy committed Aug 2, 2019
1 parent 03550e8 commit ea9db48
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions network/host/host_config.go
Expand Up @@ -7,8 +7,6 @@ import (
"strings"
"time"

ble "berty.tech/network/transport/ble"
mable "berty.tech/network/transport/ble/multiaddr"
ma "github.com/multiformats/go-multiaddr"
"github.com/pkg/errors"
"go.uber.org/zap"
Expand Down Expand Up @@ -77,8 +75,8 @@ func (cfg *Config) applyP2POptions(ctx context.Context) error {
cfg.libp2p_opts = append(cfg.libp2p_opts, libp2p.Transport(libp2p_quic.NewTransport))
case libp2p_ws.WsProtocol.Code:
cfg.libp2p_opts = append(cfg.libp2p_opts, libp2p.Transport(libp2p_ws.New))
case mable.P_BLE:
cfg.libp2p_opts = append(cfg.libp2p_opts, libp2p.Transport(ble.NewTransport))
// case mable.P_BLE:
// cfg.libp2p_opts = append(cfg.libp2p_opts, libp2p.Transport(ble.NewTransport))
default: // continue
return true
}
Expand Down

0 comments on commit ea9db48

Please sign in to comment.