[#488] reputation/local/storage: Add trusting peer

Fix iteration logic after adding trusting peer
in `Trust` struct.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2021-04-27 22:18:29 +03:00 committed by Alex Vanin
parent dbff8e9b3f
commit d3c1fc7dda
3 changed files with 3 additions and 4 deletions

View file

@ -47,7 +47,7 @@ type EpochTrustValueStorage struct {
func newTrustValueStorage() *EpochTrustValueStorage {
return &EpochTrustValueStorage{
mItems: make(map[string]*trustValue, 1),
mItems: make(map[string]*trustValue, 1),
}
}