From 6a07eb676a020b0035173facb25f92f1ff6380f7 Mon Sep 17 00:00:00 2001 From: Peter Todd Date: Mon, 13 Oct 2014 10:14:58 -0400 Subject: [PATCH] Make TX_SCRIPTHASH clear vSolutionsRet first Previously unlike other transaction types the TX_SCRIPTHASH would not clear vSolutionsRet, which means that unlike other transaction types if it was called twice in a row you would get the result of the previous invocation as well. --- src/script/standard.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/script/standard.cpp b/src/script/standard.cpp index 1d5aac7b348..59496d795d1 100644 --- a/src/script/standard.cpp +++ b/src/script/standard.cpp @@ -58,6 +58,8 @@ bool Solver(const CScript& scriptPubKey, txnouttype& typeRet, vector