mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 14:22:37 +01:00
fix two comment typos in signer.go
This commit is contained in:
parent
3ff6055a62
commit
53b1b8837f
1 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ func (b *BtcWallet) FetchInputInfo(prevOut *wire.OutPoint) (*wire.TxOut, error)
|
|||
return output, nil
|
||||
}
|
||||
|
||||
// fetchOutputKey attempts to fetch the managed address corresponding to the
|
||||
// fetchOutputAddr attempts to fetch the managed address corresponding to the
|
||||
// passed output script. This function is used to look up the proper key which
|
||||
// should be used to sign a specified input.
|
||||
func (b *BtcWallet) fetchOutputAddr(script []byte) (waddrmgr.ManagedAddress, error) {
|
||||
|
@ -184,7 +184,7 @@ func (b *BtcWallet) SignOutputRaw(tx *wire.MsgTx,
|
|||
return sig[:len(sig)-1], nil
|
||||
}
|
||||
|
||||
// ComputeInputScript generates a complete InputIndex for the passed
|
||||
// ComputeInputScript generates a complete InputScript for the passed
|
||||
// transaction with the signature as defined within the passed SignDescriptor.
|
||||
// This method is capable of generating the proper input script for both
|
||||
// regular p2wkh output and p2wkh outputs nested within a regular p2sh output.
|
||||
|
|
Loading…
Add table
Reference in a new issue