aboutsummaryrefslogtreecommitdiff
path: root/src/node/chainstatemanager_args.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/node/chainstatemanager_args.cpp')
-rw-r--r--src/node/chainstatemanager_args.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node/chainstatemanager_args.cpp b/src/node/chainstatemanager_args.cpp
index 14dd8cd97b..39b5f3ad3e 100644
--- a/src/node/chainstatemanager_args.cpp
+++ b/src/node/chainstatemanager_args.cpp
@@ -63,6 +63,7 @@ util::Result<void> ApplyArgsManOptions(const ArgsManager& args, ChainstateManage
// 2. Multiply first, divide after to avoid integer truncation.
size_t clamped_size_each = std::max<int64_t>(*max_size, 0) * (1 << 20) / 2;
opts.script_execution_cache_bytes = clamped_size_each;
+ opts.signature_cache_bytes = clamped_size_each;
}
return {};