File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -285,10 +285,11 @@ class XOnlyPubKey
285
285
CPubKey GetEvenCorrespondingCPubKey () const ;
286
286
287
287
const unsigned char & operator [](int pos) const { return *(m_keydata.begin () + pos); }
288
- const unsigned char * data () const { return m_keydata.begin (); }
289
288
static constexpr size_t size () { return decltype (m_keydata)::size (); }
289
+ const unsigned char * data () const { return m_keydata.begin (); }
290
290
const unsigned char * begin () const { return m_keydata.begin (); }
291
291
const unsigned char * end () const { return m_keydata.end (); }
292
+ unsigned char * data () { return m_keydata.begin (); }
292
293
unsigned char * begin () { return m_keydata.begin (); }
293
294
unsigned char * end () { return m_keydata.end (); }
294
295
bool operator ==(const XOnlyPubKey& other) const { return m_keydata == other.m_keydata ; }
You can’t perform that action at this time.
0 commit comments