Browse Source

Merge pull request #363 from VerusCoin/dev

Dev
pull/433/head v0.8.0-4
Asher Dawes 3 years ago
committed by GitHub
parent
commit
21d7af5827
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/pbaas/pbaas.cpp
  2. 2
      src/pbaas/reserves.cpp

2
src/pbaas/pbaas.cpp

@ -502,7 +502,7 @@ bool ValidateReserveDeposit(struct CCcontract_info *cp, Eval* eval, const CTrans
std::vector<CTxOut> vOutputs;
CCurrencyValueMap importedCurrency, gatewayCurrencyUsed, spentCurrencyOut;
if (ccxSource.IsClearLaunch() && IsVerusActive() && !IsVerusMainnetActive() && nHeight >= 14500)
if (ccxSource.IsClearLaunch() && ccxSource.sourceSystemID == destCurDef.launchSystemID)
{
checkState.SetLaunchCompleteMarker(false);
}

2
src/pbaas/reserves.cpp

@ -1806,7 +1806,7 @@ CReserveTransactionDescriptor::CReserveTransactionDescriptor(const CTransaction
CReserveTransactionDescriptor rtxd;
// if clear launch, don't set launch complete beforehand to match outputs
if (ccx.IsClearLaunch() && IsVerusActive() && !IsVerusMainnetActive() && nHeight >= 14500)
if (ccx.IsClearLaunch() && ccx.sourceSystemID == importCurrencyDef.launchSystemID)
{
checkState.SetLaunchCompleteMarker(false);
}

Loading…
Cancel
Save