Skip to content

Commit

Permalink
try fixing a test
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad-Altabba committed Mar 8, 2023
1 parent bc74b2b commit 88205fc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/system_tests_utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,7 @@ export const createNewAccount = async (config?: {
if (config?.unlock) {
const web3Personal = new Personal(clientUrl);
if (!config?.doNotImport) {
await web3Personal.importRawKey(
getSystemTestBackend() === 'geth' ? acc.privateKey.slice(2) : acc.privateKey,
config.password ?? '123456',
);
await web3Personal.importRawKey(acc.privateKey, config.password ?? '123456');
}

await web3Personal.unlockAccount(acc.address, config.password ?? '123456', 100000000);
Expand Down

0 comments on commit 88205fc

Please sign in to comment.