Skip to content

Commit

Permalink
fix(test-tooling): use of hardcoded password
Browse files Browse the repository at this point in the history
Primary Changes
----------------
1. Updated line 236 in openethereum-test-ledger.ts so the default password argument to the newEthPersonalAccount function is not hardcoded.

Fixes #2766

Signed-off-by: ashnashahgrover <as19@williams.edu>
  • Loading branch information
ashnashahgrover committed Jul 22, 2024
1 parent 603ff0e commit 7770506
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export class OpenEthereumTestLedger {
*/
public async newEthPersonalAccount(
seedMoney = 10e8,
password = "test",
password: string,
): Promise<string> {
const account = await this.web3.eth.personal.newAccount(password);

Expand Down

0 comments on commit 7770506

Please sign in to comment.