txscript: Remove excessive error check.
This commit is contained in:
parent
abf1b23d08
commit
45dfa1a9cd
1 changed files with 0 additions and 4 deletions
|
@ -1501,10 +1501,6 @@ func SignTxOutput(chainParams *chaincfg.Params, tx *wire.MsgTx, idx int,
|
||||||
// Merge scripts. with any previous data, if any.
|
// Merge scripts. with any previous data, if any.
|
||||||
mergedScript := mergeScripts(chainParams, tx, idx, pkScript, class,
|
mergedScript := mergeScripts(chainParams, tx, idx, pkScript, class,
|
||||||
addresses, nrequired, sigScript, previousScript)
|
addresses, nrequired, sigScript, previousScript)
|
||||||
if err != nil {
|
|
||||||
return nil, err
|
|
||||||
}
|
|
||||||
|
|
||||||
return mergedScript, nil
|
return mergedScript, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue