diff --git a/libs/remix-tests/src/compiler.ts b/libs/remix-tests/src/compiler.ts index 887c3d43a1..591609c5a8 100644 --- a/libs/remix-tests/src/compiler.ts +++ b/libs/remix-tests/src/compiler.ts @@ -22,7 +22,7 @@ export function writeTestAccountsContract (accounts: string[]) { accounts.map((address, index) => { body += `\n\t\taccounts[${index}] = ${address};\n` }) - body = `return accounts[index];` + body + body += `return accounts[index];` } else { body = `return address(0);` }