Merged 30b2025 (fixed conflict).
authorsvost <ya.nowa@yandex.ru>
Thu, 7 Apr 2016 07:33:19 +0000 (10:33 +0300)
committersvost <ya.nowa@yandex.ru>
Fri, 8 Apr 2016 19:45:03 +0000 (22:45 +0300)
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");