src/pages/governance/shared/getSecondsPerBlock.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { EnvironmentNetwork, isPlayground } from "@waveshq/walletkit-core";

export function getSecondsPerBlock(network: EnvironmentNetwork): number {
  return isPlayground(network) ? 3 : 30;
}