aboutsummaryrefslogtreecommitdiff
path: root/src/script/script.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-12-21 14:04:03 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2016-12-21 14:04:06 +0100
commite8cfe1ee2d01c493b758a67ad14707dca15792ea (patch)
tree8164f54ddbb171d62bb9bf54949c18a06e5e40dc /src/script/script.h
parent0698639a38069cee268f764e7b732d67622fb3df (diff)
parentf6fb7acda4aefd01b8ef6cd77063bfc0c4f4ab36 (diff)
downloadbitcoin-e8cfe1ee2d01c493b758a67ad14707dca15792ea.tar.xz
Merge #8589: Inline CTxInWitness inside CTxIn
f6fb7ac Move CTxInWitness inside CTxIn (Pieter Wuille)
Diffstat (limited to 'src/script/script.h')
-rw-r--r--src/script/script.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/script/script.h b/src/script/script.h
index 278774d32e..76419c1495 100644
--- a/src/script/script.h
+++ b/src/script/script.h
@@ -656,6 +656,8 @@ struct CScriptWitness
bool IsNull() const { return stack.empty(); }
+ void SetNull() { stack.clear(); stack.shrink_to_fit(); }
+
std::string ToString() const;
};