Exemplo n.º 1
0
        private async Task <OperationResult <VoidResponse> > Broadcast(List <byte[]> keys, BaseOperation[] ops, CancellationToken ct)
        {
            var resp = await _operationManager.BroadcastOperationsSynchronousLikeSteemit(keys, ops, ct);

            var result = new OperationResult <VoidResponse>();

            if (resp.IsError)
            {
                result.Exception = new RequestException(resp);
            }
            else
            {
                result.Result = new VoidResponse();
            }
            return(result);
        }