diff --git a/src/cpp/ripple/RippleAddress.cpp b/src/cpp/ripple/RippleAddress.cpp index 7841f322e5..6f3462ec96 100644 --- a/src/cpp/ripple/RippleAddress.cpp +++ b/src/cpp/ripple/RippleAddress.cpp @@ -754,6 +754,7 @@ bool RippleAddress::setSeedGeneric(const std::string& strText) { RippleAddress naTemp; bool bResult = true; + uint128 uSeed; if (strText.empty() || naTemp.setAccountID(strText) @@ -764,6 +765,10 @@ bool RippleAddress::setSeedGeneric(const std::string& strText) { bResult = false; } + else if (strText.length() == 32 && uSeed.SetHex(strText, true)) + { + setSeed(uSeed); + } else if (setSeed(strText)) { // std::cerr << "Recognized seed." << std::endl;