Skip to content
This repository has been archived by the owner on Feb 28, 2022. It is now read-only.

Commit

Permalink
Add todo for bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
adlerjohn committed Jul 7, 2020
1 parent 81a33c1 commit 3d9cb67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/provers/InvalidInput.yulp
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ object "InvalidInput" is "Deposit", "TransactionProof", "Fraud" {
error"input-htlc-type", transactionProof)

// If spending transaction is before timeout then:
// TODO this should be using Ethereum block number, not rollup block height
if lt(TransactionProof.blockHeight(transactionProof),
OutputHTLC.expiry(output)) {
// The hash of the preimage in the transaction proof must match the digest in the input proof
Expand Down

0 comments on commit 3d9cb67

Please sign in to comment.