From 3c6faaa5da1a7afee3e019b1f2bdf93a80d5c719 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Fri, 19 Dec 2014 04:08:15 -0500 Subject: [PATCH] Add getint64 to CScriptNum --- src/script/script.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/script/script.h b/src/script/script.h index 8eb7eb1766..2b1d6fcb6b 100644 --- a/src/script/script.h +++ b/src/script/script.h @@ -292,6 +292,11 @@ public: return m_value; } + int64_t getint64() const + { + return m_value; + } + std::vector getvch() const { return serialize(m_value);