diff options
author | Pieter Wuille <pieter@wuille.net> | 2021-05-23 17:38:18 -0700 |
---|---|---|
committer | Pieter Wuille <pieter@wuille.net> | 2021-05-24 12:14:16 -0700 |
commit | 4b1cc08f9f94a1e6e1ecba6b97f99b73fb513872 (patch) | |
tree | 23032c2016b9012a22074a8b086affe59131cde8 /src/uint256.h | |
parent | b295395664bd37e26d168c329f238237b34aef8c (diff) |
Make XOnlyPubKey act like byte container
Diffstat (limited to 'src/uint256.h')
-rw-r--r-- | src/uint256.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uint256.h b/src/uint256.h index fadf2320af..d4917d0eac 100644 --- a/src/uint256.h +++ b/src/uint256.h @@ -75,7 +75,7 @@ public: return &m_data[WIDTH]; } - unsigned int size() const + static constexpr unsigned int size() { return sizeof(m_data); } |