boltlabs-inc / zeekoe

Zero-knowledge layer-2 payment channels
MIT License
24 stars 1 forks source link

Check delay_expiry & revocation_lock_bytes are 0 at origination. #293

Closed yaymukund closed 3 years ago

yaymukund commented 3 years ago

Closes #274

This adds additional checks for delay_expiry and revocation_lock_bytes

jakinyele commented 3 years ago

@yaymukund does this PR need a review before merge?

yaymukund commented 3 years ago

@jakinyele yes, that would be great!

DariusParvin commented 3 years ago

looks good to me! I tested it with non-zero values for revocation lock and expiry and the merchant aborted with the expected error messages.