mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-05-19 13:26:47 +00:00
txscript: Remove excessive error check.
This commit is contained in:
parent
abf1b23d08
commit
45dfa1a9cd
@ -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…
x
Reference in New Issue
Block a user