diff options
-rw-r--r-- | build/ci.go | 2 | ||||
-rw-r--r-- | les/handler_test.go | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/build/ci.go b/build/ci.go index 0c825ef31..a849de2fd 100644 --- a/build/ci.go +++ b/build/ci.go @@ -199,7 +199,7 @@ func doInstall(cmdline []string) { build.MustRun(goinstall) return } - // If we are cross compiling to ARMv5 ARMv6 or ARMv7, clean any prvious builds + // If we are cross compiling to ARMv5 ARMv6 or ARMv7, clean any previous builds if *arch == "arm" { os.RemoveAll(filepath.Join(runtime.GOROOT(), "pkg", runtime.GOOS+"_arm")) for _, path := range filepath.SplitList(build.GOPATH()) { diff --git a/les/handler_test.go b/les/handler_test.go index 9e63e15a6..a9dac89b4 100644 --- a/les/handler_test.go +++ b/les/handler_test.go @@ -416,7 +416,9 @@ func TestTransactionStatusLes2(t *testing.T) { db, _ := ethdb.NewMemDatabase() pm := newTestProtocolManagerMust(t, false, 0, nil, nil, nil, db) chain := pm.blockchain.(*core.BlockChain) - txpool := core.NewTxPool(core.DefaultTxPoolConfig, params.TestChainConfig, chain) + config := core.DefaultTxPoolConfig + config.Journal = "" + txpool := core.NewTxPool(config, params.TestChainConfig, chain) pm.txpool = txpool peer, _ := newTestPeer(t, "peer", 2, pm, true) defer peer.close() |