[#28] Client: Apply code optimizations
Signed-off-by: Pavel Gross <p.gross@yadro.com>
This commit is contained in:
parent
766f61a5f7
commit
749000a090
57 changed files with 845 additions and 1116 deletions
|
@ -24,12 +24,12 @@ internal sealed class AccountingServiceProvider : ContextAccessor
|
|||
{
|
||||
Body = new()
|
||||
{
|
||||
OwnerId = ctx.OwnerId!.OwnerID
|
||||
OwnerId = ClientContext.Owner.OwnerID
|
||||
}
|
||||
};
|
||||
|
||||
request.AddMetaHeader(args.XHeaders);
|
||||
request.Sign(ctx.Key!);
|
||||
request.Sign(ClientContext.Key.ECDsaKey);
|
||||
|
||||
var response = await _accountingServiceClient!.BalanceAsync(request, null, ctx.Deadline, ctx.CancellationToken);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue