mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-16 01:40:44 +00:00
This removes an RPC test which takes > 90s to execute, and updates the internal/guide tests to use lighter scrypt parameters. Co-authored-by: Martin Holst Swende <martin@swende.se> Co-authored-by: Felix Lange <fjl@twurst.com>
This commit is contained in:
parent
a35bc8de19
commit
eb4240992e
1 changed files with 2 additions and 2 deletions
|
|
@ -38,8 +38,8 @@ func TestAccountManagement(t *testing.T) {
|
||||||
// Create a temporary folder to work with
|
// Create a temporary folder to work with
|
||||||
workdir := t.TempDir()
|
workdir := t.TempDir()
|
||||||
|
|
||||||
// Create an encrypted keystore with standard crypto parameters
|
// Create an encrypted keystore (using light scrypt parameters)
|
||||||
ks := keystore.NewKeyStore(filepath.Join(workdir, "keystore"), keystore.StandardScryptN, keystore.StandardScryptP)
|
ks := keystore.NewKeyStore(filepath.Join(workdir, "keystore"), keystore.LightScryptN, keystore.LightScryptP)
|
||||||
|
|
||||||
// Create a new account with the specified encryption passphrase
|
// Create a new account with the specified encryption passphrase
|
||||||
newAcc, err := ks.NewAccount("Creation password")
|
newAcc, err := ks.NewAccount("Creation password")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue