trac-msb 0.0.69 → 0.0.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.js +2 -2
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -14,6 +14,7 @@ import Network from './network.js';
|
|
|
14
14
|
import Check from './utils/check.js';
|
|
15
15
|
|
|
16
16
|
import DHT from 'hyperdht'
|
|
17
|
+
import process from 'process'
|
|
17
18
|
|
|
18
19
|
//TODO: CHANGE NONCE.
|
|
19
20
|
|
|
@@ -376,10 +377,9 @@ export class MainSettlementBus extends ReadyResource {
|
|
|
376
377
|
|
|
377
378
|
if (this.#enable_txchannel) {
|
|
378
379
|
this.#tx_swarm = await Network.txChannel(this.#tx_swarm, this.#tx, this.#base, this.#wallet, this.#writingKey, this.#network);
|
|
380
|
+
this.dhtNode(this.#wallet);
|
|
379
381
|
}
|
|
380
382
|
|
|
381
|
-
this.dhtNode(this.#wallet);
|
|
382
|
-
|
|
383
383
|
const adminEntry = await this.getSigned(EntryType.ADMIN);
|
|
384
384
|
|
|
385
385
|
if (this.#isAdmin(adminEntry)) {
|