Пример #1
0
 private uint ResolveAddress(string hex, string domainName)
 {
     try
     {
         return(resolver.ResolveAddress(hex, Domain(domainName)));
     }
     catch (Exception e)
     {
         if (e is ApiError)
         {
             throw;
         }
         throw new ApiError($"Could not parse \"{hex}\" to a memory address");
     }
 }