multi: txscript.WitnessScript -> txscript.WitnessSignature

This commit is contained in:
Olaoluwa Osuntokun
2017-08-24 18:55:27 -07:00
parent 9f0efddc20
commit 7f575b688e
4 changed files with 4 additions and 4 deletions

View File

@@ -225,7 +225,7 @@ func (b *BtcWallet) ComputeInputScript(tx *wire.MsgTx,
// Generate a valid witness stack for the input.
// TODO(roasbeef): adhere to passed HashType
witnessScript, err := txscript.WitnessScript(tx, signDesc.SigHashes,
witnessScript, err := txscript.WitnessSignature(tx, signDesc.SigHashes,
signDesc.InputIndex, signDesc.Output.Value, witnessProgram,
txscript.SigHashAll, privKey, true)
if err != nil {