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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +2 -2
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "trac-msb",
3
3
  "main": "msb.mjs",
4
- "version": "0.0.69",
4
+ "version": "0.0.71",
5
5
  "pear": {
6
6
  "name": "trac-msb",
7
7
  "type": "terminal"
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)) {