X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Frpcmining.cpp;h=62d8837d4e174bc7e4ebad6db83512e4ae7ad28e;hb=5a7a2125b6b4ed7d3ea55f333d0cf2345bd1d916;hp=fa0244242940e693d2efb3716d3518f0d02260ba;hpb=e27b30dfa0c10d8c65b69cdf4240710b614d46fc;p=novacoin.git diff --git a/src/rpcmining.cpp b/src/rpcmining.cpp index fa02442..62d8837 100644 --- a/src/rpcmining.cpp +++ b/src/rpcmining.cpp @@ -13,7 +13,6 @@ #include #include -#include using namespace json_spirit; using namespace std; @@ -161,7 +160,7 @@ Value scaninput(const Array& params, bool fHelp) } else { - vInputs = vector(boost::counting_iterator( 0 ), boost::counting_iterator( tx.vout.size() )); + for (size_t i = 0; i != tx.vout.size(); ++i) vInputs.push_back(i); } CTxDB txdb("r");