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
|
||||
}
|
||||
|
||||
// AddAllInputScripts modifies transaction a transaction by adding inputs
|
||||
// scripts for each input. Previous output scripts being redeemed by each input
|
||||
// are passed in prevPkScripts and the slice length must match the number of
|
||||
// inputs. Private keys and redeem scripts are looked up using a SecretsSource
|
||||
// based on the previous output script.
|
||||
// AddAllInputScripts modifies a transaction by adding inputs scripts for each
|
||||
// input. Previous output scripts being redeemed by each input are passed in
|
||||
// prevPkScripts and the slice length must match the number of inputs. Private
|
||||
// keys and redeem scripts are looked up using a SecretsSource based on the
|
||||
// previous output script.
|
||||
func AddAllInputScripts(tx *wire.MsgTx, prevPkScripts [][]byte, secrets SecretsSource) error {
|
||||
inputs := tx.TxIn
|
||||
chainParams := secrets.ChainParams()
|
||||
|
|
Loading…
Reference in a new issue