aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-01-04 11:20:02 +0100
committerMarcoFalke <falke.marco@gmail.com>2021-01-05 10:10:50 +0100
commitfaa8f68943615785a2855676cf96e0e96f3cc6bd (patch)
tree104ab0c22fc8fcbd9fe7a128a6d69bca45ff3221 /src/util
parentbc8ada1c15345d14e324aee68488c8aa8a75cae0 (diff)
Replace boost::variant with std::variant
Diffstat (limited to 'src/util')
-rw-r--r--src/util/message.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/message.cpp b/src/util/message.cpp
index e1d5cff48c..73948e4ff1 100644
--- a/src/util/message.cpp
+++ b/src/util/message.cpp
@@ -31,7 +31,7 @@ MessageVerificationResult MessageVerify(
return MessageVerificationResult::ERR_INVALID_ADDRESS;
}
- if (boost::get<PKHash>(&destination) == nullptr) {
+ if (std::get_if<PKHash>(&destination) == nullptr) {
return MessageVerificationResult::ERR_ADDRESS_NO_KEY;
}