remove unused code

This commit is contained in:
Pavel Murygin 2023-02-09 01:13:31 +04:00
parent dda89e9626
commit 239b4a6e2c
2 changed files with 0 additions and 18 deletions

View File

@ -16,20 +16,3 @@ export const makeDefaultPeer = () => {
// @ts-ignore
globalThis.defaultPeer = makeDefaultPeer();
// TODO! remove after implementing smoke test (DXJ-253)
// @ts-ignore
window.demo = async () => {
// @ts-ignore
const peer: FluencePeer = globalThis.defaultPeer;
await peer.start({
connectTo: {
multiaddr: '/ip4/127.0.0.1/tcp/4310/ws/p2p/12D3KooWKEprYXUXqoV5xSBeyqrWLpQLLH4PXfvVkDJtmcqmh5V3',
peerId: '12D3KooWKEprYXUXqoV5xSBeyqrWLpQLLH4PXfvVkDJtmcqmh5V3',
},
});
const res = await checkConnection(peer);
console.log('Check connection res', res);
};

View File

@ -1 +0,0 @@
/dist/