// Fetch previous transactions (inputs)
std::map<COutPoint, CScript> mapPrevOut;
- for(int i = 0; i < mergedTx.vin.size(); i++)
+ for(unsigned int i = 0; i < mergedTx.vin.size(); i++)
{
CTransaction tempTx;
MapPrevTx mapPrevTx;
// Sign what we can
bool fComplete = true;
- for(int i = 0; i < mergedTx.vin.size(); i++)
+ for(unsigned int i = 0; i < mergedTx.vin.size(); i++)
{
CTxIn& txin = mergedTx.vin[i];
if(mapPrevOut.count(txin.prevout) == 0)