Browse Source

storage-node: minor tweaks based on review

Mokhtar Naamani 4 years ago
parent
commit
7ad9b6cccd

+ 1 - 1
storage-node/packages/cli/bin/dev.js

@@ -72,7 +72,7 @@ const init = async (api) => {
   debug('Setting Local development node as bootstrap endpoint')
   await api.discovery.setBootstrapEndpoints(alice, [`http://localhost:${developmentPort()}/`])
 
-  debug('Transfering tokens to storage role account')
+  debug('Transferring tokens to storage role account')
   // Give role account some tokens to work with
   api.balances.transfer(alice, roleAccount, 100000)
 

+ 0 - 4
storage-node/packages/colossus/bin/cli.js

@@ -292,10 +292,6 @@ async function main () {
 }
 
 main()
-  .then(() => {
-    console.log('Process exiting gracefully.')
-    process.exit(0)
-  })
   .catch((err) => {
     console.error(chalk.red(err.stack))
     process.exit(-1)

+ 0 - 2
storage-node/packages/helios/bin/cli.js

@@ -145,9 +145,7 @@ async function countContentAvailability (contentIds, source) {
       // TODO: cross check against dataobject size
       found++
     } catch (err) {
-      // console.log(`${assetUrl} ${err.message}`)
       missing++
-      continue
     }
   }