aboutsummaryrefslogtreecommitdiff
path: root/src/univalue/lib/univalue_get.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/univalue/lib/univalue_get.cpp')
-rw-r--r--src/univalue/lib/univalue_get.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/univalue/lib/univalue_get.cpp b/src/univalue/lib/univalue_get.cpp
index 5c58f388dd..037449ca08 100644
--- a/src/univalue/lib/univalue_get.cpp
+++ b/src/univalue/lib/univalue_get.cpp
@@ -60,7 +60,7 @@ const std::vector<UniValue>& UniValue::getValues() const
bool UniValue::get_bool() const
{
checkType(VBOOL);
- return getBool();
+ return isTrue();
}
const std::string& UniValue::get_str() const