mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
s/ConsensusParamEntry/DynaFedParamEntry/
This commit is contained in:
parent
642260a126
commit
15996384d4
10 changed files with 33 additions and 33 deletions
|
|
@ -1030,7 +1030,7 @@ UniValue getnewblockhex(const JSONRPCRequest& request)
|
|||
}
|
||||
|
||||
// Construct proposed parameter entry, if any
|
||||
ConsensusParamEntry proposed;
|
||||
DynaFedParamEntry proposed;
|
||||
if (!request.params[1].isNull()) {
|
||||
if (!IsDynaFedEnabled(chainActive.Tip(), Params().GetConsensus())) {
|
||||
throw JSONRPCError(RPC_INVALID_PARAMETER, "Dynamic federations is not active on this network. Proposed parameters are not needed.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue