From 296f5ed8ff22854eb89bd07c0ac5d4e137bf445a Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 21 Jul 2018 03:12:33 -1100 Subject: [PATCH] Fix --- src/script/standard.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/script/standard.cpp b/src/script/standard.cpp index dcce3d7c2..dbbf04c93 100644 --- a/src/script/standard.cpp +++ b/src/script/standard.cpp @@ -74,9 +74,9 @@ bool Solver(const CScript& scriptPubKey, txnouttype& typeRet, vector hashBytes; uint160 x; uint8_t hash20[20],*ptr;; + vector hashBytes; uint160 x; int32_t i; uint8_t hash20[20],*ptr;; x = Hash160(scriptPubKey); - memcp(hash20,&x,20); + memcpp(hash20,&x,20); ptr = hashBytes.data(); hashBytes.resize(20); for (i=0; i<20; i++)