Merged 30b2025 (fixed conflict).
[novacoin.git] / src / rpcmining.cpp
index 714eb76..df4e7ea 100644 (file)
@@ -12,7 +12,6 @@
 #include "bitcoinrpc.h"
 
 #include <boost/format.hpp>
-#include <boost/iterator/counting_iterator.hpp>
 
 using namespace json_spirit;
 using namespace std;
@@ -160,7 +159,7 @@ Value scaninput(const Array& params, bool fHelp)
         }
         else
         {
-            vInputs = vector<int>(boost::counting_iterator<int>( 0 ), boost::counting_iterator<int>( tx.vout.size() ));
+            for (size_t i = 0; i != tx.vout.size(); ++i) vInputs.push_back(i);
         }
 
         CTxDB txdb("r");