From 45dfa1a9cd0fa031c0cc0106990794a61da13313 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Sun, 8 Feb 2015 21:24:09 -0500 Subject: [PATCH] txscript: Remove excessive error check. --- txscript/script.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/txscript/script.go b/txscript/script.go index 81653a61..1bf4d503 100644 --- a/txscript/script.go +++ b/txscript/script.go @@ -1501,10 +1501,6 @@ func SignTxOutput(chainParams *chaincfg.Params, tx *wire.MsgTx, idx int, // Merge scripts. with any previous data, if any. mergedScript := mergeScripts(chainParams, tx, idx, pkScript, class, addresses, nrequired, sigScript, previousScript) - if err != nil { - return nil, err - } - return mergedScript, nil }