﻿using Common.Log;
using System;
using System.Threading;

namespace Lykke.Service.EthereumCore.Utils
{
    public static class TimeoutPolicy
    {
        public static CancellationToken GetCancellationTokenForContractCreation(ILog log)
        {
            CancellationTokenSource tkSource = new CancellationTokenSource(TimeSpan.FromMinutes(5));

            return tkSource.Token;
        }
    }
}
