aboutsummaryrefslogtreecommitdiffstats
path: root/core/test/blocks-generator.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/test/blocks-generator.go')
-rw-r--r--core/test/blocks-generator.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/test/blocks-generator.go b/core/test/blocks-generator.go
index 3485b77..92271f7 100644
--- a/core/test/blocks-generator.go
+++ b/core/test/blocks-generator.go
@@ -39,7 +39,7 @@ type validatorStatus struct {
lastAckingHeight map[types.ValidatorID]uint64
}
-type hashBlockFn func(types.BlockConverter) (common.Hash, error)
+type hashBlockFn func(*types.Block) (common.Hash, error)
// getAckedBlockHash would randomly pick one block between
// last acked one to current head.