async Task OnClientTransaction(ClientTransactionMessage message, ClientConnection connection) { var check = _transactionManager.AddClientTransaction(message, connection); var transaction = message.Transaction; var requestCode = message.RequestCode; if (requestCode != 0) { if (check == TransactionResultTypes.Ok) { var identifier = transaction.UniqueIdentifier; _clientResponses[identifier] = new ClientResponseData(requestCode, connection.ConnectionId, identifier); } else { await connection.Send(new ClientTransactionResponseMessage(requestCode, check, null) { SignKey = _configuration.LocaleNodePrivateKey }); } } }