From cec2373b50ae02cee819de6fea727a40757bbcc6 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Tue, 5 Jul 2022 11:17:17 +0300 Subject: [PATCH] [#222] reputation: Clarify docs of GlobalTrust formation Signed-off-by: Leonard Lyubich --- reputation/trust.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reputation/trust.go b/reputation/trust.go index 346996c..428ce71 100644 --- a/reputation/trust.go +++ b/reputation/trust.go @@ -214,7 +214,8 @@ func (x PeerToPeerTrust) Trust() (res Trust) { // GlobalTrust is mutually compatible with github.com/nspcc-dev/neofs-api-go/v2/reputation.GlobalTrust // message. See ReadFromV2 / WriteToV2 methods. // -// Instances can be created using built-in var declaration. +// To submit GlobalTrust value in NeoFS zero instance SHOULD be declared, +// initialized using Init method and filled using dedicated methods. type GlobalTrust struct { m reputation.GlobalTrust }