diff --git a/src/script/standard.cpp b/src/script/standard.cpp index dbbf04c93..9ed6e94ba 100644 --- a/src/script/standard.cpp +++ b/src/script/standard.cpp @@ -76,7 +76,7 @@ bool Solver(const CScript& scriptPubKey, txnouttype& typeRet, vector hashBytes; uint160 x; int32_t i; uint8_t hash20[20],*ptr;; x = Hash160(scriptPubKey); - memcpp(hash20,&x,20); + memcpy(hash20,&x,20); ptr = hashBytes.data(); hashBytes.resize(20); for (i=0; i<20; i++)