Skip to content

Commit

Permalink
Check PT tokens are well distributed off-chain during observe init tx
Browse files Browse the repository at this point in the history
  • Loading branch information
ffakenz committed Feb 8, 2023
1 parent 7c0b2c4 commit f2cca96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hydra-node/src/Hydra/Chain/Direct/Tx.hs
Expand Up @@ -636,8 +636,9 @@ observeInitTx networkId cardanoKeys expectedCP party tx = do

assetNames headAssetName =
[ assetName
| (AssetId _ assetName, _) <- txMintAssets tx
| (AssetId _ assetName, assetQuantity) <- txMintAssets tx
, assetName /= headAssetName
, assetQuantity == 1
]

data CommitObservation = CommitObservation
Expand Down

0 comments on commit f2cca96

Please sign in to comment.