OSDN Git Service

fix ci
[bytom/vapor.git] / test / performance / mining_test.go
index 15e06a4..0f3f0d6 100644 (file)
@@ -26,6 +26,6 @@ func BenchmarkNewBlockTpl(b *testing.B) {
 
        b.ResetTimer()
        for i := 0; i < b.N; i++ {
-               proposal.NewBlockTemplate(chain, txPool, accountManager, nil, uint64(time.Now().UnixNano()/1e6))
+               proposal.NewBlockTemplate(chain, txPool, accountManager, uint64(time.Now().UnixNano()/1e6))
        }
 }