mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-13 07:37:22 +01:00
lnd: fix golint warning which requires to add additional comments
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
0074643c10
commit
ee2379775c
@@ -21,8 +21,11 @@ var (
|
||||
// TODO(roasbeef): remove these and use the one's defined in txscript
|
||||
// within testnet-L.
|
||||
|
||||
SequenceLockTimeSeconds = uint32(1 << 22)
|
||||
OP_CHECKSEQUENCEVERIFY byte = txscript.OP_NOP3
|
||||
// SequenceLockTimeSeconds is the 22nd bit which indicates the lock
|
||||
// time is in seconds.
|
||||
SequenceLockTimeSeconds = uint32(1 << 22)
|
||||
|
||||
OP_CHECKSEQUENCEVERIFY byte = txscript.OP_NOP3
|
||||
|
||||
// TimelockShift is used to make sure the commitment transaction is
|
||||
// spendable by setting the locktime with it so that it is larger than
|
||||
|
||||
Reference in New Issue
Block a user