diff --git a/supernode/index.html b/supernode/index.html index ba66e3e..93f8759 100644 --- a/supernode/index.html +++ b/supernode/index.html @@ -9152,7 +9152,9 @@ node.contacts.splice(index, 1) // remove old contact node.contacts.push(selection) // add more recent contact version - reactor.dispatchEvent('updated', incumbent.concat(selection)) + /***************Change made by Abhishek*************/ + reactor.dispatchEvent('updated', {...incumbent, ...selection}) + //reactor.dispatchEvent('updated', incumbent.concat(selection)) } } @@ -9163,6 +9165,25072 @@ } + + @@ -12023,7 +37091,7 @@ //var wsUri = "ws://localhost:9000/"; //var wsUri = "ws://ranchimall.duckdns.org:9000/"; - var wsUri = "ws://ranchimall1.duckdns.org:9000/"; + var wsUri = "ws://ranchimall1.duckdns.org:9002/"; //var wsUri = "ws://167.99.5.116:9000/"; var output; @@ -13897,7 +38965,7 @@ currency: "USD" } } - // let data = {trader_flo_address: genAddr.address} + //let data = {id: rand(10000, 100000000, 100000000)} localbitcoinplusplus.kademlia .addNewUserNodeInKbucket("FLO_TEST", genAddr.address, data); }