[#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:
parent
dbff8e9b3f
commit
d3c1fc7dda
3 changed files with 3 additions and 4 deletions
|
@ -47,7 +47,7 @@ type EpochTrustValueStorage struct {
|
|||
|
||||
func newTrustValueStorage() *EpochTrustValueStorage {
|
||||
return &EpochTrustValueStorage{
|
||||
mItems: make(map[string]*trustValue, 1),
|
||||
mItems: make(map[string]*trustValue, 1),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue