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 hyperledger#2766

BREAKING CHANGE: A line exceeding 100 characters has been split into two lines.

Signed-off-by: ashnashahgrover <as19@williams.edu>
  • Loading branch information
ashnashahgrover committed Aug 5, 2024
1 parent fdce6b3 commit 8bdc830
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 8bdc830

Please sign in to comment.