From 6c3c1790df9f252e783d109092124d452c968086 Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 14 Mar 2023 09:59:22 +0100 Subject: [PATCH] fix accounts libe generation --- libs/remix-tests/src/compiler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);` }