std::vector<CTxDestination> referrers;
bool valid = true;
+ bool isPBaaS = CConstVerusSolutionVector::GetVersionByHeight(height) >= CActivationHeight::ACTIVATE_PBAAS;
+
for (auto &txout : tx.vout)
{
COptCCParams p;
}
// CHECK #2 - must be rooted in this chain
- if (newIdentity.parent != ConnectedChains.ThisChain().GetID())
+ if (newIdentity.parent != ConnectedChains.ThisChain().GetID() &&
+ !(isPBaaS && newIdentity.GetID() == ASSETCHAINS_CHAINID && IsVerusActive()))
{
return state.Error("Identity parent of new identity must be current chain");
}