[#170] accounting: Remove message sub-string from V2-methods

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2022-03-17 16:45:26 +03:00 committed by Alex Vanin
parent 7d31de57ec
commit aeb4ac638a
4 changed files with 12 additions and 12 deletions

View file

@ -14,7 +14,7 @@ On client side:
import "github.com/nspcc-dev/neofs-api-go/v2/accounting"
var msg accounting.Decimal
dec.WriteToMessageV2(&msg)
dec.WriteToV2(&msg)
// send msg
@ -22,7 +22,7 @@ On server side:
// recv msg
var dec accounting.Decimal
dec.ReadFromMessageV2(msg)
dec.ReadFromV2(msg)
// process dec