Skip to content

Commit

Permalink
Disable mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
jhbertra committed Sep 30, 2022
1 parent 97f3850 commit 4df2f1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions marlowe-runtime/marlowe-tx/Main.hs
Expand Up @@ -119,6 +119,8 @@ run Options{..} = withSocketsDo do
protocolParameters <- queryChainSync GetProtocolParameters
slotConfig <- queryChainSync GetSlotConfig
networkId <- queryChainSync GetNetworkId
when (networkId == Mainnet) do
die "Mainnet support is currently disabled."
let
solveConstraints :: forall era v. SolveConstraints era v
solveConstraints = Constraints.solveConstraints
Expand Down

0 comments on commit 4df2f1b

Please sign in to comment.