Browse Source

couple of typos

Mokhtar Naamani 4 years ago
parent
commit
623561085b

+ 1 - 1
content-directory-schemas/scripts/devInitContentLead.ts

@@ -24,7 +24,7 @@ async function main() {
 
   // Only buy membership if LEAD_URI is not provided
   if (memberId === undefined && process.env.LEAD_URI) {
-    throw new Error('Make sure Controller key LEAD_URI is is for a member')
+    throw new Error('Make sure Controller key LEAD_URI is for a member')
   }
 
   if (memberId === undefined) {

+ 0 - 1
storage-node/packages/cli/src/commands/dev.ts

@@ -151,7 +151,6 @@ const makeMemberInitialLeadAndStorageProvider = async (api: RuntimeApi): Promise
   const leadAccount = memberController
   const workerAccount = process.env.WORKER_ACCOUNT
 
-  // make sure alice is sudo - indirectly checking this is a dev chain
   const sudo = await api.identities.getSudoAccount()
 
   if (!sudo.eq(sudoKey.address)) {