general: fix typos, rename variables, add comments
This commit is contained in:
1 parent
b70d1f8cfe
commit
5b9e4ae61e
9 files changed
+23
-17
No files matched your search
@@ -340,7 +340,7 @@ func senderHtlcSpendTimeout(commitScript []byte, outputAmt btcutil.Amount,
|
||||
//
|
||||
// Possible Input Scripts:
|
||||
// RECVR: <sig> <preimage> 1
|
||||
// REVOK: <sig> <preimage> 1 0
|
||||
// REVOK: <sig> <preimage> 0 1
|
||||
// SENDR: <sig> 0 0
|
||||
//
|
||||
// OP_IF
|
||||
@@ -358,7 +358,7 @@ func senderHtlcSpendTimeout(commitScript []byte, outputAmt btcutil.Amount,
|
||||
// <revoke hash> OP_EQUALVERIFY
|
||||
// OP_ELSE
|
||||
// //Refund
|
||||
// <absolute blockehight> OP_CHECKLOCKTIMEVERIFY OP_DROP
|
||||
// <absolute blockheight> OP_CHECKLOCKTIMEVERIFY OP_DROP
|
||||
// OP_ENDIF
|
||||
// <sender key> OP_CHECKSIG
|
||||
// OP_ENDIF
|
||||
|
||||
Reference in new issue
Block a user