From 65ac7f6d4d1e26b7c065ed3dc0a17db822b08d71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C5=91rinc?= Date: Mon, 21 Jul 2025 10:54:33 -0700 Subject: [PATCH] refactor: modernize `CScriptBase` definition --- src/script/script.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/script.h b/src/script/script.h index 6104630a1ee..cd19f09436f 100644 --- a/src/script/script.h +++ b/src/script/script.h @@ -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* pvchRet);