aboutsummaryrefslogtreecommitdiffstats
path: root/core/leader-selector_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/leader-selector_test.go')
-rw-r--r--core/leader-selector_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/leader-selector_test.go b/core/leader-selector_test.go
index 7eb9b3c..211680d 100644
--- a/core/leader-selector_test.go
+++ b/core/leader-selector_test.go
@@ -32,7 +32,7 @@ type LeaderSelectorTestSuite struct {
}
func (s *LeaderSelectorTestSuite) newLeader() *leaderSelector {
- return newGenesisLeaderSelector("DEXON 🚀", eth.SigToPub)
+ return newGenesisLeaderSelector([]byte("DEXON 🚀"), eth.SigToPub)
}
func (s *LeaderSelectorTestSuite) TestDistance() {