We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27b4084 commit 78c2707Copy full SHA for 78c2707
src/rpc/mempool.cpp
@@ -862,7 +862,7 @@ static RPCHelpMan submitpackage()
862
},
863
[&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue
864
{
865
- if (!Params().IsMockableChain()) {
+ if (Params().GetChainType() != ChainType::REGTEST) {
866
throw std::runtime_error("submitpackage is for regression testing (-regtest mode) only");
867
}
868
const UniValue raw_transactions = request.params[0].get_array();
0 commit comments