From 9454d1adadc910d4e129fdb0cd3585b23a1f2882 Mon Sep 17 00:00:00 2001
From: Leonard Lyubich <leonard@nspcc.ru>
Date: Wed, 5 Aug 2020 20:01:52 +0300
Subject: [PATCH] [#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>
---
 accounting/service.proto | 6 +-----
 proto-docs/accounting.md | 1 -
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/accounting/service.proto b/accounting/service.proto
index f381605..afabeb1 100644
--- a/accounting/service.proto
+++ b/accounting/service.proto
@@ -6,7 +6,6 @@ option csharp_namespace = "NeoFS.API.Accounting";
 import "service/meta.proto";
 import "service/verify.proto";
 import "decimal/decimal.proto";
-import "accounting/types.proto";
 import "refs/types.proto";
 import "github.com/gogo/protobuf/gogoproto/gogo.proto";
 
@@ -30,8 +29,5 @@ message BalanceRequest {
 
 message BalanceResponse {
     // Balance contains current account balance state
-    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;
+    decimal.Decimal Balance = 1;
 }
diff --git a/proto-docs/accounting.md b/proto-docs/accounting.md
index ce7156b..e63afbb 100644
--- a/proto-docs/accounting.md
+++ b/proto-docs/accounting.md
@@ -100,7 +100,6 @@ Balance returns current balance status of the NeoFS user
 | Field | Type | Label | Description |
 | ----- | ---- | ----- | ----------- |
 | 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 -->