diff --git a/doc/deployable-lightning.lyx b/doc/deployable-lightning.lyx index 7e45a74a3..421a071a1 100644 --- a/doc/deployable-lightning.lyx +++ b/doc/deployable-lightning.lyx @@ -1362,10 +1362,6 @@ OP_IF \begin_deeper \begin_layout Description -2 -\begin_inset space ~ -\end_inset - Should be signed by B's escape key. \end_layout @@ -1376,10 +1372,6 @@ OP_ELSE \begin_deeper \begin_layout Description -2 -\begin_inset space ~ -\end_inset - Should be signed by B's commitment key. \end_layout @@ -1388,6 +1380,14 @@ OP_ELSE OP_ENDIF \end_layout +\begin_layout Description +2 +\begin_inset space ~ +\end_inset + +OP_SWAP Put 2 before B's key on the stack. +\end_layout + \begin_layout Description \begin_inset space ~ @@ -1413,7 +1413,15 @@ The escape transaction for A spends A's anchor output and reveals A's secret. Escape Input Script \end_layout +\begin_layout Standard +The extra 0 at the start is due to the OP_CHECKMULTISIG out-by-one-bug. +\end_layout + \begin_layout Description +0 +\begin_inset space ~ +\end_inset + \begin_inset space ~ \end_inset @@ -1422,11 +1430,7 @@ Escape Input Script \begin_inset space ~ \end_inset -SECRET -\begin_inset space ~ -\end_inset - -1 + \begin_inset space ~ \end_inset @@ -1544,6 +1548,10 @@ This is identical to the normal escape input script. \end_layout \begin_layout Description +0 +\begin_inset space ~ +\end_inset + \begin_inset space ~ \end_inset @@ -1552,11 +1560,7 @@ This is identical to the normal escape input script. \begin_inset space ~ \end_inset -SECRET -\begin_inset space ~ -\end_inset - -1 + \begin_inset space ~ \end_inset @@ -1685,10 +1689,14 @@ Commitment Input Script \begin_layout Standard The commitment transaction has two inputs; one which spends each anchor output. - The two zeroes indicate it is not revealing the secret: + The zero after the signature indicates it is not revealing the secret: \end_layout \begin_layout Description +0 +\begin_inset space ~ +\end_inset + \begin_inset space ~ \end_inset @@ -1701,10 +1709,6 @@ The commitment transaction has two inputs; one which spends each anchor \begin_inset space ~ \end_inset -0 -\begin_inset space ~ -\end_inset - {} \end_layout diff --git a/doc/deployable-lightning.pdf b/doc/deployable-lightning.pdf index ea57d6ba7..f78d939ad 100644 Binary files a/doc/deployable-lightning.pdf and b/doc/deployable-lightning.pdf differ