X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fwallet.h;h=fe97a0a5a591caf20fae5598664d681518439243;hp=62dd6d52a61b2aefac5e21652021e6e6c6ad69d4;hb=79fc752b6104b796aa5e0a8a8b6d2822fb0f3299;hpb=fdcafa35359b3ad9af79d2367a1884d01607fb84 diff --git a/src/wallet.h b/src/wallet.h index 62dd6d5..fe97a0a 100644 --- a/src/wallet.h +++ b/src/wallet.h @@ -509,8 +509,10 @@ public: return false; if (mapPrev.empty()) + { BOOST_FOREACH(const CMerkleTx& tx, vtxPrev) mapPrev[tx.GetHash()] = &tx; + } BOOST_FOREACH(const CTxIn& txin, ptx->vin) {