mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 10:43:19 -03:00
Make script/standard's BaseHash Span-convertible
This commit is contained in:
parent
e63dcc3a67
commit
2a2182c387
1 changed files with 3 additions and 0 deletions
|
@ -79,6 +79,9 @@ public:
|
|||
{
|
||||
return m_hash.size();
|
||||
}
|
||||
|
||||
unsigned char* data() { return m_hash.data(); }
|
||||
const unsigned char* data() const { return m_hash.data(); }
|
||||
};
|
||||
|
||||
/** A reference to a CScript: the Hash160 of its serialization (see script.h) */
|
||||
|
|
Loading…
Add table
Reference in a new issue