diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-02-10 09:56:00 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-02-10 09:55:54 -0500 |
commit | fa1388edb17fc9eca097d93542f8d5db5aa0cf17 (patch) | |
tree | 4fede1f3b0202ae2591bc0ce0d1efd3c42883274 /src/univalue/include | |
parent | 67447ba06057b8e83f962c82491d2fe6c5211f50 (diff) | |
parent | a570098021be6a7b9f4589300ea655ae4633628e (diff) |
univalue: Bump subtree
Diffstat (limited to 'src/univalue/include')
-rw-r--r-- | src/univalue/include/univalue.h | 4 |
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); |