diff options
author | MacroFake <falke.marco@gmail.com> | 2022-07-21 18:09:02 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-08-02 15:29:16 +0200 |
commit | 66664384a6fec39ecb4d8d06db66a4f193a06e33 (patch) | |
tree | 7769cc7b287f4202edebae9c5314e8be4509d7e7 /src/init.cpp | |
parent | fad0b4fab849eb5f1f0aa54ebc290f85a473ec91 (diff) |
Remove ::g_max_datacarrier_bytes global
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/init.cpp b/src/init.cpp index 04873d1c29..056aadb675 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 |