Skip to content

Commit 65ac7f6

Browse files
committed
refactor: modernize CScriptBase definition
1 parent 756da2a commit 65ac7f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/script/script.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ class CScriptNum
406406
* Tests in October 2015 showed use of this reduced dbcache memory usage by 23%
407407
* and made an initial sync 13% faster.
408408
*/
409-
typedef prevector<28, unsigned char> CScriptBase;
409+
using CScriptBase = prevector<28, uint8_t>;
410410

411411
bool GetScriptOp(CScriptBase::const_iterator& pc, CScriptBase::const_iterator end, opcodetype& opcodeRet, std::vector<unsigned char>* pvchRet);
412412

0 commit comments

Comments
 (0)