git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
ffb0226
)
Merged 30b2025 (fixed conflict).
author
svost
<ya.nowa@yandex.ru>
Thu, 7 Apr 2016 07:33:19 +0000 (10:33 +0300)
committer
svost
<ya.nowa@yandex.ru>
Fri, 8 Apr 2016 19:45:03 +0000 (22:45 +0300)
src/rpcmining.cpp
patch
|
blob
|
history
diff --git
a/src/rpcmining.cpp
b/src/rpcmining.cpp
index
714eb76
..
df4e7ea
100644
(file)
--- a/
src/rpcmining.cpp
+++ b/
src/rpcmining.cpp
@@
-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");