boltlabs-inc / zeekoe

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

Add PendingMutualClose as an acceptable status in merchant expiry #375

Open vidyaap opened 2 years ago

vidyaap commented 2 years ago

If a mutual close fails, the merchant aborts the process while it and the customer have the PendingMutualClose status. A following unilateral close will fail because the merchant expiry function doesn't expect PendingMutualClose as a possible current status.