Skip to content

Commit 70f2a5d

Browse files
committed
Make chain_state pointers const.
1 parent 0735544 commit 70f2a5d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/bitcoin/system/chain/chain_state.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class BC_API chain_state
4949
typedef std::deque<uint32_t> bitss;
5050
typedef std::deque<uint32_t> versions;
5151
typedef std::deque<uint32_t> timestamps;
52-
typedef std::shared_ptr<chain_state> ptr;
52+
typedef std::shared_ptr<const chain_state> cptr;
5353
typedef struct { size_t count; size_t high; } range;
5454

5555
/// Heights used to identify construction requirements.

0 commit comments

Comments
 (0)