Fix typo. (#453)
This commit is contained in:
parent
d76627e6d5
commit
5e39e68778
1 changed files with 5 additions and 5 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue