default accounts list

pull/3262/head^2
yann300 2 years ago committed by Aniket
parent 9f7d21edb7
commit ea1cede966
  1. 2
      libs/remix-tests/src/runTestSources.ts

@ -25,7 +25,7 @@ export class UnitTestRunner {
async init (web3 = null, accounts = null) {
this.web3 = await this.createWeb3Provider(web3)
this.testsAccounts = accounts || await this.web3.eth.getAccounts()
this.testsAccounts = accounts || (this.web3 && await this.web3.eth.getAccounts()) || []
this.accountsLibCode = writeTestAccountsContract(this.testsAccounts)
}

Loading…
Cancel
Save