diff --git a/src/init.cpp b/src/init.cpp index 04873d1c29f..056aadb675d 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -975,12 +975,6 @@ bool AppInitParameterInteraction(const ArgsManager& args, bool use_syscall_sandb if (!g_wallet_init_interface.ParameterInteraction()) return false; - if (args.GetBoolArg("-datacarrier", DEFAULT_ACCEPT_DATACARRIER)) { - g_max_datacarrier_bytes = args.GetIntArg("-datacarriersize", MAX_OP_RETURN_RELAY); - } else { - g_max_datacarrier_bytes = std::nullopt; - } - // Option to startup with mocktime set (used for regression testing): SetMockTime(args.GetIntArg("-mocktime", 0)); // SetMockTime(0) is a no-op diff --git a/src/kernel/mempool_options.h b/src/kernel/mempool_options.h index 197a018ba3a..dad6f14c391 100644 --- a/src/kernel/mempool_options.h +++ b/src/kernel/mempool_options.h @@ -8,9 +8,11 @@ #include #include +#include