implemented backend wallets/ledger accounts listing
This commit is contained in:
@@ -81,6 +81,12 @@ func (s *Service) Register(router routers.GRPC) error {
|
||||
})
|
||||
}
|
||||
|
||||
// ListAccounts lists ledger accounts for an organization.
|
||||
func (s *Service) ListAccounts(ctx context.Context, req *ledgerv1.ListAccountsRequest) (*ledgerv1.ListAccountsResponse, error) {
|
||||
responder := s.listAccountsResponder(ctx, req)
|
||||
return responder(ctx)
|
||||
}
|
||||
|
||||
// CreateAccount provisions a new ledger account scoped to an organization.
|
||||
func (s *Service) CreateAccount(ctx context.Context, req *ledgerv1.CreateAccountRequest) (*ledgerv1.CreateAccountResponse, error) {
|
||||
responder := s.createAccountResponder(ctx, req)
|
||||
|
||||
Reference in New Issue
Block a user