removed dead code

This commit is contained in:
Jędrzej Stuczyński
2023-10-10 16:17:36 +01:00
parent 50fbdb4f0b
commit f24a0dc8ae
-18
View File
@@ -24,24 +24,6 @@ const {
} = wasm_bindgen;
async function testGetCredential() {
// const preferredGateway = "6pXQcG1Jt9hxBzMgTbQL5Y58z6mu4KXVRbA1idmibwsw";
// const nymApi = 'https://qa-nym-api.qa.nymte.ch/api';
//
// // A) construct with hardcoded topology
// const topology = dummyTopology()
//
// // optional arguments: id, gateway
// // mandatory (one of) arguments: topology, nymApi
// const nodeTester = await new NymNodeTester({ id: "foomp", topology: topology });
//
// // B) first get topology directly from nym-api
// // const topology = await currentNetworkTopology(nymApi)
// // const nodeTester = await new NymNodeTester({topology});
//
// // C) use nym-api in the constructor (note: it does no filtering for 'good' nodes on other layers)
// // const validator = 'https://qa-nym-api.qa.nymte.ch/api';
// // const nodeTester = await new NymNodeTester({nymApi});
//
self.onmessage = async event => {
if (event.data && event.data.kind) {
switch (event.data.kind) {