浏览代码

tests: fix function name getAllGeneratedAccounts()

Mokhtar Naamani 3 年之前
父节点
当前提交
97654d26be
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      tests/network-tests/src/Api.ts
  2. 1 1
      tests/network-tests/src/Scenario.ts

+ 1 - 1
tests/network-tests/src/Api.ts

@@ -171,7 +171,7 @@ export class Api {
     return this.factory.keyGenInfo()
   }
 
-  public getAllgeneratedAccounts(): { [k: string]: number } {
+  public getAllGeneratedAccounts(): { [k: string]: number } {
     return this.factory.getAllGeneratedAccounts()
   }
 

+ 1 - 1
tests/network-tests/src/Scenario.ts

@@ -21,7 +21,7 @@ function writeOutput(api: Api, miniSecret: string) {
   const outputFilename = 'output.json'
   console.error('Writing generated account to', outputFilename)
   // account to key ids
-  const accounts = api.getAllgeneratedAccounts()
+  const accounts = api.getAllGeneratedAccounts()
 
   // first and last key id used to generate keys in this scenario
   const keyIds = api.keyGenInfo()