X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fwallet.h;h=bb9177b6849785308c9cd5ed8f3cc34fbffbf111;hb=8460185dec74383b1e49500683cfc7aa9ceba554;hp=4387e1a01fdab5d6637dfc8e4160751967aa85ba;hpb=678a319888f88cf5bae2312afc3ba73533c0f901;p=novacoin.git diff --git a/src/wallet.h b/src/wallet.h index 4387e1a..bb9177b 100644 --- a/src/wallet.h +++ b/src/wallet.h @@ -499,8 +499,10 @@ public: return false; if (mapPrev.empty()) + { BOOST_FOREACH(const CMerkleTx& tx, vtxPrev) mapPrev[tx.GetHash()] = &tx; + } BOOST_FOREACH(const CTxIn& txin, ptx->vin) {