[#33] accounting: Remove LockAccounts field from BalanceResponse

Remove BalanceResponse field that carried the list of lock account since it
ceased to be externally controlled and is now managed by Smart Contract.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-08-05 20:01:52 +03:00 committed by Stanislav Bogatyrev
parent 40420f3ab0
commit 9454d1adad
2 changed files with 1 additions and 6 deletions

View file

@ -6,7 +6,6 @@ option csharp_namespace = "NeoFS.API.Accounting";
import "service/meta.proto"; import "service/meta.proto";
import "service/verify.proto"; import "service/verify.proto";
import "decimal/decimal.proto"; import "decimal/decimal.proto";
import "accounting/types.proto";
import "refs/types.proto"; import "refs/types.proto";
import "github.com/gogo/protobuf/gogoproto/gogo.proto"; import "github.com/gogo/protobuf/gogoproto/gogo.proto";
@ -31,7 +30,4 @@ message BalanceRequest {
message BalanceResponse { message BalanceResponse {
// Balance contains current account balance state // Balance contains current account balance state
decimal.Decimal Balance = 1; decimal.Decimal Balance = 1;
// LockAccounts contains information about locked funds. Locked funds appear
// when user pays for storage or withdraw assets.
repeated Account LockAccounts = 2;
} }

View file

@ -100,7 +100,6 @@ Balance returns current balance status of the NeoFS user
| Field | Type | Label | Description | | Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- | | ----- | ---- | ----- | ----------- |
| Balance | [decimal.Decimal](#decimal.Decimal) | | Balance contains current account balance state | | Balance | [decimal.Decimal](#decimal.Decimal) | | Balance contains current account balance state |
| LockAccounts | [Account](#accounting.Account) | repeated | LockAccounts contains information about locked funds. Locked funds appear when user pays for storage or withdraw assets. |
<!-- end messages --> <!-- end messages -->