We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3a0887 commit 7eed47fCopy full SHA for 7eed47f
miner/miner.go
@@ -38,6 +38,11 @@ func (self *Miner) Mining() bool {
38
}
39
40
func (m *Miner) SetGasPrice(price *big.Int) {
41
+ // FIXME block tests set a nil gas price. Quick dirty fix
42
+ if price == nil {
43
+ return
44
+ }
45
+
46
m.worker.gasPrice = price
47
48
tests/block_test.go
@@ -103,7 +103,7 @@ func testEthConfig() *eth.Config {
103
104
return ð.Config{
105
DataDir: common.DefaultDataDir(),
106
- LogLevel: 5,
+ Verbosity: 5,
107
Etherbase: "primary",
108
AccountManager: accounts.NewManager(ks),
109
NewDB: func(path string) (common.Database, error) { return ethdb.NewMemDatabase() },
0 commit comments