aboutsummaryrefslogtreecommitdiff
path: root/src/univalue/include
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-02-10 09:56:00 -0500
committerMarcoFalke <falke.marco@gmail.com>2018-02-10 09:55:54 -0500
commitfa1388edb17fc9eca097d93542f8d5db5aa0cf17 (patch)
tree4fede1f3b0202ae2591bc0ce0d1efd3c42883274 /src/univalue/include
parent67447ba06057b8e83f962c82491d2fe6c5211f50 (diff)
parenta570098021be6a7b9f4589300ea655ae4633628e (diff)
univalue: Bump subtree
Diffstat (limited to 'src/univalue/include')
-rw-r--r--src/univalue/include/univalue.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/univalue/include/univalue.h b/src/univalue/include/univalue.h
index 4fd2223b30..c15b2f051e 100644
--- a/src/univalue/include/univalue.h
+++ b/src/univalue/include/univalue.h
@@ -130,6 +130,10 @@ public:
UniValue tmpVal(val_);
return pushKV(key, tmpVal);
}
+ bool pushKV(const std::string& key, bool val_) {
+ UniValue tmpVal((bool)val_);
+ return pushKV(key, tmpVal);
+ }
bool pushKV(const std::string& key, int val_) {
UniValue tmpVal((int64_t)val_);
return pushKV(key, tmpVal);