Procházet zdrojové kódy

cmd/geth: fixed test

Jeffrey Wilcke před 10 roky
rodič
revize
3016f23864
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      cmd/geth/js_test.go

+ 1 - 1
cmd/geth/js_test.go

@@ -257,7 +257,7 @@ func TestContract(t *testing.T) {
 	t.Skip("contract testing is implemented with mining in ethash test mode. This takes about 7seconds to run. Unskip and run on demand")
 	t.Skip("contract testing is implemented with mining in ethash test mode. This takes about 7seconds to run. Unskip and run on demand")
 	coinbase := common.HexToAddress(testAddress)
 	coinbase := common.HexToAddress(testAddress)
 	tmp, repl, ethereum := testREPL(t, func(conf *eth.Config) {
 	tmp, repl, ethereum := testREPL(t, func(conf *eth.Config) {
-		conf.Etherbase = testAddress
+		conf.Etherbase = coinbase
 		conf.PowTest = true
 		conf.PowTest = true
 	})
 	})
 	if err := ethereum.Start(); err != nil {
 	if err := ethereum.Start(); err != nil {