diff options
Diffstat (limited to 'eth/backend.go')
-rw-r--r-- | eth/backend.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eth/backend.go b/eth/backend.go index 5a8b41f5d..024520b13 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -288,15 +288,15 @@ func CreatePoW(config *Config) (pow.PoW, error) { switch { case config.PowFake: log.Warn("Ethash used in fake mode") - return pow.PoW(core.FakePow{}), nil + return pow.FakePow{}, nil case config.PowTest: log.Warn("Ethash used in test mode") - return ethash.NewForTesting() + return pow.NewTestEthash(), nil case config.PowShared: log.Warn("Ethash used in shared mode") - return ethash.NewShared(), nil + return pow.NewSharedEthash(), nil default: - return ethash.New(), nil + return pow.NewFullEthash("", ""), nil } } |