From fb9bbdf2a34aa45c0f032b996f72cafd7bccfa80 Mon Sep 17 00:00:00 2001 From: Mission Liao Date: Fri, 22 Mar 2019 21:45:22 +0800 Subject: core: remove initRoundBeginHeight paramenter * Implement Governance.GetRoundHeight in test.Governance. --- core/test/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/test/app.go') diff --git a/core/test/app.go b/core/test/app.go index d704698..20fe80f 100644 --- a/core/test/app.go +++ b/core/test/app.go @@ -255,7 +255,7 @@ func (app *App) BlockDelivered(blockHash common.Hash, pos types.Position, } if app.roundToNotify == pos.Round { if app.gov != nil { - app.gov.NotifyRound(app.roundToNotify) + app.gov.NotifyRound(app.roundToNotify, pos.Height) app.roundToNotify++ } } -- cgit v1.2.3