aboutsummaryrefslogtreecommitdiff
path: root/src/node/peerman_args.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/node/peerman_args.cpp')
-rw-r--r--src/node/peerman_args.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/node/peerman_args.cpp b/src/node/peerman_args.cpp
index e5868ead12..e0dcf21c33 100644
--- a/src/node/peerman_args.cpp
+++ b/src/node/peerman_args.cpp
@@ -18,6 +18,8 @@ void ApplyArgsManOptions(const ArgsManager& argsman, PeerManager::Options& optio
}
if (auto value{argsman.GetBoolArg("-capturemessages")}) options.capture_messages = *value;
+
+ if (auto value{argsman.GetBoolArg("-blocksonly")}) options.ignore_incoming_txs = *value;
}
} // namespace node