Fix typo. (#453)

This commit is contained in:
DanielKrawisz 2016-08-15 10:27:32 -05:00 committed by Josh Rickmar
parent d76627e6d5
commit 5e39e68778

View file

@ -164,11 +164,11 @@ type SecretsSource interface {
ChainParams() *chaincfg.Params ChainParams() *chaincfg.Params
} }
// AddAllInputScripts modifies transaction a transaction by adding inputs // AddAllInputScripts modifies a transaction by adding inputs scripts for each
// scripts for each input. Previous output scripts being redeemed by each input // input. Previous output scripts being redeemed by each input are passed in
// are passed in prevPkScripts and the slice length must match the number of // prevPkScripts and the slice length must match the number of inputs. Private
// inputs. Private keys and redeem scripts are looked up using a SecretsSource // keys and redeem scripts are looked up using a SecretsSource based on the
// based on the previous output script. // previous output script.
func AddAllInputScripts(tx *wire.MsgTx, prevPkScripts [][]byte, secrets SecretsSource) error { func AddAllInputScripts(tx *wire.MsgTx, prevPkScripts [][]byte, secrets SecretsSource) error {
inputs := tx.TxIn inputs := tx.TxIn
chainParams := secrets.ChainParams() chainParams := secrets.ChainParams()