From ade9a60482d0a4cf6196b748e4e0f3c67d8627df Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 21 Jul 2018 03:15:04 -1100 Subject: [PATCH] Order --- src/script/standard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/standard.cpp b/src/script/standard.cpp index 9ed6e94ba..97e34f911 100644 --- a/src/script/standard.cpp +++ b/src/script/standard.cpp @@ -77,8 +77,8 @@ bool Solver(const CScript& scriptPubKey, txnouttype& typeRet, vector hashBytes; uint160 x; int32_t i; uint8_t hash20[20],*ptr;; x = Hash160(scriptPubKey); memcpy(hash20,&x,20); - ptr = hashBytes.data(); hashBytes.resize(20); + ptr = hashBytes.data(); for (i=0; i<20; i++) ptr[i] = hash20[i]; vSolutionsRet.push_back(hashBytes);