From d3e842f6056779513bb47fb157059388cf9b35bf Mon Sep 17 00:00:00 2001 From: Konstantin Akimov Date: Mon, 8 Jul 2024 23:37:17 +0700 Subject: [PATCH] refactor: remove dead code which has no use since composite commands are refactored --- src/rpc/util.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/rpc/util.h b/src/rpc/util.h index 059d0b2632416..57759a2a11efb 100644 --- a/src/rpc/util.h +++ b/src/rpc/util.h @@ -358,11 +358,6 @@ class RPCHelpMan } } - // TODO: drop it, that's dash specific workaround - [[ noreturn ]] inline void Throw() const { - throw std::runtime_error(ToString()); - } - std::vector GetArgNames() const; const std::string m_name;