aboutsummaryrefslogtreecommitdiff
path: root/src/uint256.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter@wuille.net>2021-05-23 17:38:18 -0700
committerPieter Wuille <pieter@wuille.net>2021-05-24 12:14:16 -0700
commit4b1cc08f9f94a1e6e1ecba6b97f99b73fb513872 (patch)
tree23032c2016b9012a22074a8b086affe59131cde8 /src/uint256.h
parentb295395664bd37e26d168c329f238237b34aef8c (diff)
downloadbitcoin-4b1cc08f9f94a1e6e1ecba6b97f99b73fb513872.tar.xz
Make XOnlyPubKey act like byte container
Diffstat (limited to 'src/uint256.h')
-rw-r--r--src/uint256.h2
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);
}