refactor: modernize CScriptBase definition

This commit is contained in:
Lőrinc committed 2025-07-25 16:23:38 -07:00
1 parent 756da2a994
commit 65ac7f6d4d
1 file changed
+1 -1
+1 -1
View File
@@ -406,7 +406,7 @@ private:
* Tests in October 2015 showed use of this reduced dbcache memory usage by 23%
* and made an initial sync 13% faster.
*/
typedef prevector<28, unsigned char> CScriptBase;
using CScriptBase = prevector<28, uint8_t>;
bool GetScriptOp(CScriptBase::const_iterator& pc, CScriptBase::const_iterator end, opcodetype& opcodeRet, std::vector<unsigned char>* pvchRet);