We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66280e9 commit 0eee1a1Copy full SHA for 0eee1a1
src/miner.cpp
@@ -112,8 +112,7 @@ std::unique_ptr<CBlockTemplate> BlockAssembler::CreateNewBlock(const CScript& sc
112
113
// ELEMENTS: PAK
114
// Create block pak commitment if set in conf file and validating pegouts
115
- if (!gArgs.GetBoolArg("-acceptnonstdtxn", !Params().RequireStandard())
116
- && g_paklist_config) {
+ if (Params().GetEnforcePak() && g_paklist_config) {
117
if (*g_paklist_config != g_paklist_blockchain) {
118
g_paklist_config->CreateCommitments(commitments);
119
}
0 commit comments