update multiaddr and mafmt to support websockets name change

This commit is contained in:
David Dias
2016-05-17 22:37:03 +01:00
parent 9e7568b825
commit 2fe87d0bfb
4 changed files with 14 additions and 14 deletions

View File

@ -8,7 +8,7 @@ let ws
gulp.task('test:browser:before', (done) => {
ws = new WSlibp2p()
const mh = multiaddr('/ip4/127.0.0.1/tcp/9090/websockets')
const mh = multiaddr('/ip4/127.0.0.1/tcp/9090/ws')
ws.createListener(mh, (socket) => {
socket.pipe(socket)
}, done)