aboutsummaryrefslogtreecommitdiff
path: root/src/rpcwallet.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2014-09-04 02:02:44 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2014-09-04 02:04:51 +0200
commit145d5be896db4e8fda17039bed26100e38fae2f0 (patch)
tree82c0a250144990617038c84d10e71b6fa905ecc5 /src/rpcwallet.cpp
parenta0dbe433bdb3f22be639fbb675c371277fba6d80 (diff)
Introduce BlockMap type for mapBlockIndex
Diffstat (limited to 'src/rpcwallet.cpp')
-rw-r--r--src/rpcwallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcwallet.cpp b/src/rpcwallet.cpp
index 215da2ea12..100d6c2bd0 100644
--- a/src/rpcwallet.cpp
+++ b/src/rpcwallet.cpp
@@ -1447,7 +1447,7 @@ Value listsinceblock(const Array& params, bool fHelp)
uint256 blockId = 0;
blockId.SetHex(params[0].get_str());
- std::map<uint256, CBlockIndex*>::iterator it = mapBlockIndex.find(blockId);
+ BlockMap::iterator it = mapBlockIndex.find(blockId);
if (it != mapBlockIndex.end())
pindex = it->second;
}