]> Git Repo - VerusCoin.git/commitdiff
Height + 1 for proof mmv size
authormiketout <[email protected]>
Wed, 16 Sep 2020 00:15:52 +0000 (17:15 -0700)
committermiketout <[email protected]>
Wed, 16 Sep 2020 00:15:52 +0000 (17:15 -0700)
src/rpc/pbaasrpc.cpp

index f0e5afd28ffeee2cb933e616b26461cd4df1b4ba..86d4961ea034c118582b0e9186dc130bca36de0e 100644 (file)
@@ -940,7 +940,7 @@ bool CConnectedChains::CreateLatestImports(const CCurrencyDefinition &currencyDe
             exportProof.txProof << block.MMRProofBridge();
 
             // TODO: don't include chain MMR proof for exports from the same chain
-            ChainMerkleMountainView mmv(chainActive.GetMMR(), lastConfirmed.notarizationHeight);
+            ChainMerkleMountainView mmv(chainActive.GetMMR(), lastConfirmed.notarizationHeight + 1);
             mmv.GetProof(exportProof.txProof, aixIt->second.first.blockHeight);
 
             CChainObject<CPartialTransactionProof> exportXProof(CHAINOBJ_TRANSACTION_PROOF, exportProof);
This page took 0.034781 seconds and 4 git commands to generate.