public async Task <bool> IsRevealedSourceAsync( string from, CancellationToken cancellationToken = default) { return(!string.IsNullOrEmpty(from) && await _tezosRevealChecker .IsRevealedAsync(from, cancellationToken) .ConfigureAwait(false)); }
public async Task <bool> IsRevealedSourceAsync( string from, CancellationToken cancellationToken = default) { if (from != null) { return(await _tezosRevealChecker .IsRevealedAsync(from, cancellationToken) .ConfigureAwait(false)); } return(false); }