diff options
| author | Pieter Wuille <[email protected]> | 2014-09-04 23:48:01 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2014-09-04 23:49:35 +0200 |
| commit | af9c3b0cffa4449f1254da3073aef77bafddf9cd (patch) | |
| tree | 7f76c41b2a5556b9836bde8691ee4af9c3030dae /src/rpcwallet.cpp | |
| parent | Merge pull request #4783 (diff) | |
| parent | Use memcmp for uint256 equality/inequality (diff) | |
| download | discoin-af9c3b0cffa4449f1254da3073aef77bafddf9cd.tar.xz discoin-af9c3b0cffa4449f1254da3073aef77bafddf9cd.zip | |
Merge pull request #4838
1e4f87f Use memcmp for uint256 equality/inequality (Pieter Wuille)
8a41e1e Use boost::unordered_map for mapBlockIndex (Pieter Wuille)
145d5be Introduce BlockMap type for mapBlockIndex (Pieter Wuille)
a0dbe43 checkpoints.cpp depends on main, it can use mapBlockIndex directly (Pieter Wuille)
Diffstat (limited to 'src/rpcwallet.cpp')
| -rw-r--r-- | src/rpcwallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcwallet.cpp b/src/rpcwallet.cpp index 215da2ea1..100d6c2bd 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; } |