]> Git Repo - VerusCoin.git/commitdiff
Mint currency fix
authormiketout <[email protected]>
Wed, 28 Apr 2021 16:15:16 +0000 (09:15 -0700)
committermiketout <[email protected]>
Wed, 28 Apr 2021 16:15:16 +0000 (09:15 -0700)
src/pbaas/reserves.cpp

index 5b3034488434e018268f8186b7ad5284612fd7ee..bf918680961b795dd79f434398a2d50ecfc5f08f 100644 (file)
@@ -2924,7 +2924,7 @@ bool CReserveTransactionDescriptor::AddReserveTransferImportOutputs(const CCurre
                     AddNativeOutConverted(curTransfer.FirstCurrency(), -curTransfer.FirstValue());
                     burnedChangePrice += curTransfer.FirstValue();
                 }
-                else if (systemDestID == curTransfer.FirstCurrency())
+                else if (!curTransfer.IsMint() && systemDestID == curTransfer.FirstCurrency())
                 {
                     nativeOut += curTransfer.FirstValue();
                     curTransfer.GetTxOut(CCurrencyValueMap(), curTransfer.FirstValue(), newOut);
This page took 0.030534 seconds and 4 git commands to generate.