public async Task <UInt256> GetBlockHashFromHeight(uint height) { return(await _redisDbContext.GetFromHashIndex(RedisIndex.BlockHeight, height)); }
public async Task <UInt256> GetBlockHashFromHeight(uint height) { var hash = await _redisDbContext.GetFromHashIndex(RedisIndex.BlockHeight, height); return(hash ?? UInt256.Zero); }