forked from TrueCloudLab/frostfs-node
[#1115] *: link TODOs to corresponding issues
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
692790a899
commit
050a4bb2b0
51 changed files with 49 additions and 97 deletions
|
@ -64,7 +64,7 @@ func (rp *Processor) checkManagers(e uint64, mng apireputation.PeerID, peer apir
|
|||
}
|
||||
|
||||
for _, m := range mm {
|
||||
// FIXME: do not use `ToV2` method outside neofs-api-go library
|
||||
// FIXME: #1147 do not use `ToV2` method outside neofs-api-go library
|
||||
if bytes.Equal(mng.ToV2().GetPublicKey(), m.PublicKey()) {
|
||||
return nil
|
||||
}
|
||||
|
@ -91,7 +91,7 @@ func (rp *Processor) approvePutReputation(e *reputationEvent.Put) {
|
|||
err = rp.reputationWrp.Put(args)
|
||||
}
|
||||
if err != nil {
|
||||
// FIXME: do not use `ToV2` method outside neofs-api-go library
|
||||
// FIXME: #1147 do not use `ToV2` method outside neofs-api-go library
|
||||
rp.log.Warn("can't send approval tx for reputation value",
|
||||
zap.String("peer_id", hex.EncodeToString(id.ToV2().GetPublicKey())),
|
||||
zap.String("error", err.Error()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue