Add getint64 to CScriptNum

This commit is contained in:
Matt Corallo 2014-12-19 04:08:15 -05:00
parent e7f9d03f81
commit 3c6faaa5da

View file

@ -292,6 +292,11 @@ public:
return m_value;
}
int64_t getint64() const
{
return m_value;
}
std::vector<unsigned char> getvch() const
{
return serialize(m_value);