Skip to content

Commit

Permalink
Add TODO about preventing empty decommits
Browse files Browse the repository at this point in the history
  • Loading branch information
ch1bo committed Jul 12, 2024
1 parent 8aac503 commit 38823d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hydra-node/src/Hydra/HeadLogic.hs
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,7 @@ onOpenNetworkReqDec ::
tx ->
Outcome tx
onOpenNetworkReqDec env ledger ttl openState decommitTx =
-- TODO: require outputs(tx) ≠ ∅ to prevent decommit spam?
-- Spec: wait txω =⊥ ∧ L̂ ◦ tx ≠ ⊥
waitOnApplicableDecommit $ \newLocalUTxO ->
let decommitUTxO = utxoFromTx decommitTx
Expand Down

0 comments on commit 38823d1

Please sign in to comment.