consensus: fix extensible message category name

Fix this in 2+2 setup:
2021-02-04T13:50:23.923Z        WARN    peer disconnected       {"addr": "172.30.0.5:20334", "reason": "handling CMDExtensible message: invalid category", "peerCount": 3}
2021-02-04T13:50:26.968Z        WARN    peer disconnected       {"addr": "172.30.0.2:42586", "reason": "handling CMDExtensible message: invalid category", "peerCount": 2}
This commit is contained in:
Roman Khimov 2021-02-04 16:55:46 +03:00
parent 6fd5f4e86d
commit f081e63674

View file

@ -41,7 +41,7 @@ const defaultTimePerBlock = 15 * time.Second
const nsInMs = 1000000
// Category is message category for extensible payloads.
const Category = "Consensus"
const Category = "dBFT"
// Service represents consensus instance.
type Service interface {