mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-01 02:02:10 +02:00
multi: formatting and comment fixes
This commit is contained in:
@@ -156,7 +156,6 @@ func testJusticeDescriptor(t *testing.T, blobType blob.Type) {
|
||||
|
||||
// As it should be.
|
||||
toRemoteSigningScript = toRemoteRedeemScript
|
||||
|
||||
} else {
|
||||
toRemoteRedeemScript = toRemotePK.SerializeCompressed()
|
||||
toRemoteScriptHash, err = input.CommitScriptUnencumbered(
|
||||
|
@@ -631,7 +631,7 @@ func createSessionKeyIndexKey(towerID TowerID, blobType blob.Type) []byte {
|
||||
return keyBytes[:]
|
||||
}
|
||||
|
||||
// getSessionKeyIndex is a helper method
|
||||
// getSessionKeyIndex is a helper method.
|
||||
func getSessionKeyIndex(keyIndexes kvdb.RwBucket, towerID TowerID,
|
||||
blobType blob.Type) (uint32, error) {
|
||||
|
||||
|
@@ -31,6 +31,7 @@ func NewMockSigner() *MockSigner {
|
||||
// signature without the signhash flag.
|
||||
func (s *MockSigner) SignOutputRaw(tx *wire.MsgTx,
|
||||
signDesc *input.SignDescriptor) (input.Signature, error) {
|
||||
|
||||
s.mu.Lock()
|
||||
defer s.mu.Unlock()
|
||||
|
||||
|
Reference in New Issue
Block a user