Эх сурвалжийг харах

cmd/geth: use plain keystore for JS tests

This reduces the time it takes to run the tests back to 3 seconds.
Felix Lange 10 жил өмнө
parent
commit
559cc02313
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      cmd/geth/js_test.go

+ 1 - 1
cmd/geth/js_test.go

@@ -68,7 +68,7 @@ func testJEthRE(t *testing.T) (string, *testjethre, *eth.Ethereum) {
 	// set up mock genesis with balance on the testAddress
 	core.GenesisData = []byte(testGenesis)
 
-	ks := crypto.NewKeyStorePassphrase(filepath.Join(tmp, "keystore"))
+	ks := crypto.NewKeyStorePlain(filepath.Join(tmp, "keystore"))
 	am := accounts.NewManager(ks)
 	ethereum, err := eth.New(&eth.Config{
 		DataDir:        tmp,