Skip to content

Commit

Permalink
feat: add todo to drop Throw() from rpc/util.h
Browse files Browse the repository at this point in the history
  • Loading branch information
knst authored and PastaPastaPasta committed Mar 17, 2024
1 parent b54f03a commit 3621966
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rpc/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ class RPCHelpMan
}
}

// TODO: drop it, that's dash specific workaround
[[ noreturn ]] inline void Throw() const {
throw std::runtime_error(ToString());
}
Expand Down

0 comments on commit 3621966

Please sign in to comment.