From 4b1cc08f9f94a1e6e1ecba6b97f99b73fb513872 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Sun, 23 May 2021 17:38:18 -0700 Subject: Make XOnlyPubKey act like byte container --- src/uint256.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/uint256.h') 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); } -- cgit v1.2.3