[#222] reputation: Clarify docs of GlobalTrust formation

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
remotes/fyrchik/update-contracts
Leonard Lyubich 2022-07-05 11:17:17 +03:00 committed by LeL
parent ff09b1cfe1
commit cec2373b50
1 changed files with 2 additions and 1 deletions

View File

@ -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
}