aboutsummaryrefslogtreecommitdiff
path: root/src/util/bip32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/bip32.cpp')
-rw-r--r--src/util/bip32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/bip32.cpp b/src/util/bip32.cpp
index c4b7120394..c0ad9257ce 100644
--- a/src/util/bip32.cpp
+++ b/src/util/bip32.cpp
@@ -25,7 +25,7 @@ bool ParseHDKeypath(const std::string& keypath_str, std::vector<uint32_t>& keypa
}
// Finds whether it is hardened
uint32_t path = 0;
- size_t pos = item.find("'");
+ size_t pos = item.find('\'');
if (pos != std::string::npos) {
// The hardened tick can only be in the last index of the string
if (pos != item.size() - 1) {