]> Git Repo - VerusCoin.git/commitdiff
PBaaS identity update
authormiketout <[email protected]>
Fri, 23 Apr 2021 08:48:10 +0000 (01:48 -0700)
committermiketout <[email protected]>
Fri, 23 Apr 2021 08:48:10 +0000 (01:48 -0700)
src/rpc/pbaasrpc.cpp

index 7de91c6bcdd32e78a31f7bcb6cd2edf7878ab8e7..633c8e9ef3768fd4b4a69104e2398e27493b121e 100644 (file)
@@ -4760,7 +4760,7 @@ UniValue definecurrency(const UniValue& params, bool fHelp)
         throw JSONRPCError(RPC_INVALID_PARAMETER, "ID " + newChain.name + " not found, is revoked, or already has an active currency defined");
     }
 
-    if (launchIdentity.parent != ASSETCHAINS_CHAINID)
+    if (launchIdentity.parent != ASSETCHAINS_CHAINID && !(isVerusActive && newChain.GetID() == ASSETCHAINS_CHAINID))
     {
         throw JSONRPCError(RPC_INVALID_PARAMETER, "Currency can only be defined using an ID issued by " + VERUS_CHAINNAME);
     }
This page took 0.036445 seconds and 4 git commands to generate.