Merge pull request #2170 from AdamISZ/fix-typos-signer

fix two comment typos in signer.go
This commit is contained in:
Johan T. Halseth 2018-11-09 11:44:02 +01:00 committed by GitHub
commit 715db90435
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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.