Update neofs-api-go to v1.26.0
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
bd6d5e7f7b
commit
d49bd4b94a
13 changed files with 42 additions and 42 deletions
|
@ -84,12 +84,12 @@ func (rtp *RemoteTrustWriter) Write(t reputation.Trust) error {
|
|||
}
|
||||
|
||||
func (rtp *RemoteTrustWriter) Close() error {
|
||||
prm := apiClient.SendLocalTrustPrm{}
|
||||
prm := apiClient.AnnounceLocalTrustPrm{}
|
||||
|
||||
prm.SetEpoch(rtp.ctx.Epoch())
|
||||
prm.SetTrusts(rtp.buf)
|
||||
|
||||
_, err := rtp.client.SendLocalTrust(
|
||||
_, err := rtp.client.AnnounceLocalTrust(
|
||||
rtp.ctx,
|
||||
prm,
|
||||
apiClient.WithKey(rtp.key),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue