// Copyright 2017-2025 @pezkuwi/app-treasury authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { BN } from '@pezkuwi/util';

export function increaseDateByBlocks (blocks: BN, blockTime: number): Date {
  return new Date(Date.now() + blocks.muln(blockTime).toNumber());
}
