mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
doc: switch signatures around in escape and commit input scripts.
Because of the way we form the redeemscripts, it's easier to have it push B's sig then A's. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -1422,11 +1422,11 @@ The extra 0 at the start is due to the OP_CHECKMULTISIG out-by-one-bug.
|
|||||||
\begin_inset space ~
|
\begin_inset space ~
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
<SIG-A>
|
<SIG-B'>
|
||||||
\begin_inset space ~
|
\begin_inset space ~
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
<SIG-B'>
|
<SIG-A>
|
||||||
\begin_inset space ~
|
\begin_inset space ~
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
@@ -1552,11 +1552,11 @@ This is identical to the normal escape input script.
|
|||||||
\begin_inset space ~
|
\begin_inset space ~
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
<SIG-A>
|
<SIG-B'>
|
||||||
\begin_inset space ~
|
\begin_inset space ~
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
<SIG-B'>
|
<SIG-A>
|
||||||
\begin_inset space ~
|
\begin_inset space ~
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
@@ -1697,11 +1697,11 @@ The commitment transaction has two inputs; one which spends each anchor
|
|||||||
\begin_inset space ~
|
\begin_inset space ~
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
<SIG-A>
|
<SIG-B>
|
||||||
\begin_inset space ~
|
\begin_inset space ~
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
<SIG-B>
|
<SIG-A>
|
||||||
\begin_inset space ~
|
\begin_inset space ~
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user