mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
Contract execute config flag. (#226)
* Added contract execute flag. Made bin_path optional. * Updated docker cluster default config. * Renamed contract config to hp config.
This commit is contained in:
@@ -849,7 +849,7 @@ namespace consensus
|
||||
return -1;
|
||||
|
||||
// Execute the contract
|
||||
if (!ctx.is_shutting_down)
|
||||
if (conf::cfg.contract.execute && !ctx.is_shutting_down)
|
||||
{
|
||||
{
|
||||
std::scoped_lock lock(ctx.contract_ctx_mutex);
|
||||
|
||||
Reference in New Issue
Block a user