fix accounts libe generation

pull/3517/head
yann300 2 years ago
parent 12f36183d7
commit 6c3c1790df
  1. 2
      libs/remix-tests/src/compiler.ts

@ -22,7 +22,7 @@ export function writeTestAccountsContract (accounts: string[]) {
accounts.map((address, index) => { accounts.map((address, index) => {
body += `\n\t\taccounts[${index}] = ${address};\n` body += `\n\t\taccounts[${index}] = ${address};\n`
}) })
body = `return accounts[index];` + body body += `return accounts[index];`
} else { } else {
body = `return address(0);` body = `return address(0);`
} }

Loading…
Cancel
Save