From 53b1b8837f35e02135121c96e71a680fa20e20ac Mon Sep 17 00:00:00 2001 From: AdamISZ Date: Thu, 8 Nov 2018 20:54:02 +0100 Subject: [PATCH] fix two comment typos in signer.go --- lnwallet/btcwallet/signer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lnwallet/btcwallet/signer.go b/lnwallet/btcwallet/signer.go index e930908c..98b9d909 100644 --- a/lnwallet/btcwallet/signer.go +++ b/lnwallet/btcwallet/signer.go @@ -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.