mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
miner adds commitment when pak enforcement is set only
This commit is contained in:
parent
3fc3ac340f
commit
47ea638b43
1 changed files with 1 additions and 2 deletions
|
|
@ -116,8 +116,7 @@ std::unique_ptr<CBlockTemplate> BlockAssembler::CreateNewBlock(const CScript& sc
|
|||
|
||||
// ELEMENTS: PAK
|
||||
// Create block pak commitment if set in conf file and validating pegouts
|
||||
if (!gArgs.GetBoolArg("-acceptnonstdtxn", !Params().RequireStandard())
|
||||
&& g_paklist_config) {
|
||||
if (Params().GetEnforcePak() && g_paklist_config) {
|
||||
if (*g_paklist_config != g_paklist_blockchain) {
|
||||
g_paklist_config->CreateCommitments(commitments);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue