From 1d92652e39f91d60f8042a30030217b484623baa Mon Sep 17 00:00:00 2001 From: Kevin Jue Date: Mon, 25 Nov 2019 20:58:52 -0800 Subject: [PATCH] fix for validator peers dropped on new epoch (#646) --- consensus/istanbul/backend/backend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/istanbul/backend/backend.go b/consensus/istanbul/backend/backend.go index 6698251855d9..496513a6279c 100644 --- a/consensus/istanbul/backend/backend.go +++ b/consensus/istanbul/backend/backend.go @@ -700,7 +700,7 @@ func (sb *Backend) RefreshValPeers(valset istanbul.ValidatorSet) { return } - sb.valEnodeTable.RefreshValPeers(valset, sb.Address()) + sb.valEnodeTable.RefreshValPeers(valset, sb.ValidatorAddress()) } func (sb *Backend) ValidatorAddress() common.Address {