2
0
mirror of https://github.com/lnbook/lnbook synced 2024-11-04 18:00:26 +00:00

Update contract clause with time lock by Chan

This commit is contained in:
Dapeng Li 2021-05-20 21:21:14 -04:00
parent 60772ccaf4
commit 3afa45c658

View File

@ -247,7 +247,7 @@ As you might have guessed, Chan will also alter his contract with Dina:
[[alice_bob_contract_9]]
====
_Dina has 20 hours to show the secret after the contract was signed.
If he does not provide the secret by this time, Bob's deposit will be refunded by the escrow service and the contract becomes invalid._
If she does not provide the secret by this time, Chan's deposit will be refunded by the escrow service and the contract becomes invalid._
====
With such a chain of contracts we can ensure that, after 24 hours, the payment will successfully go from Alice to Bob to Chan to Dina, or it will fail and everyone will be refunded.