We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07947ff commit b3c44c9Copy full SHA for b3c44c9
include/univalue.h
@@ -130,6 +130,10 @@ class UniValue {
130
UniValue tmpVal(val_);
131
return pushKV(key, tmpVal);
132
}
133
+ bool pushKV(const std::string& key, bool val_) {
134
+ UniValue tmpVal((bool)val_);
135
+ return pushKV(key, tmpVal);
136
+ }
137
bool pushKV(const std::string& key, int val_) {
138
UniValue tmpVal((int64_t)val_);
139
0 commit comments