Make "Update to validators" msg value pretty (#2848)

* Make "Update to validators" msg value pretty #2765

* New format for logging validator updates

* Refactor logging validator updates

* Fix changelog item

* fix merge conflict
This commit is contained in:
Daniil Lashin
2018-11-17 01:38:22 +03:00
committed by Ethan Buchman
parent b90e06a37c
commit 2cfdef6111
4 changed files with 29 additions and 19 deletions

View File

@ -218,7 +218,7 @@ func TestUpdateValidators(t *testing.T) {
for _, tc := range testCases {
t.Run(tc.name, func(t *testing.T) {
err := updateValidators(tc.currentSet, tc.abciUpdates)
_, err := updateValidators(tc.currentSet, tc.abciUpdates)
if tc.shouldErr {
assert.Error(t, err)
} else {