aboutsummaryrefslogtreecommitdiff
path: root/src/uint256.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uint256.h')
-rw-r--r--src/uint256.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/uint256.h b/src/uint256.h
index 0e0473a300..8ab747ef49 100644
--- a/src/uint256.h
+++ b/src/uint256.h
@@ -51,6 +51,9 @@ public:
void SetHex(const std::string& str);
std::string ToString() const;
+ const unsigned char* data() const { return m_data; }
+ unsigned char* data() { return m_data; }
+
unsigned char* begin()
{
return &m_data[0];