[#613] pkg/innerring/reputation: Add FIXME to ToV2 usage

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2021-06-17 18:08:08 +03:00 committed by Pavel Karpy
parent ed9a5e44b6
commit 68c7f6ce8a
2 changed files with 3 additions and 0 deletions

View file

@ -12,6 +12,7 @@ func (rp *Processor) handlePutReputation(ev event.Event) {
put := ev.(reputationEvent.Put)
peerID := put.PeerID()
// FIXME: do not use `ToV2` method outside neofs-api-go library
rp.log.Info("notification",
zap.String("type", "reputation put"),
zap.String("peer_id", hex.EncodeToString(peerID.ToV2().GetPublicKey())))