mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 06:25:51 +00:00
Have RPC account_info recognize bitcoin addresses.
This commit is contained in:
@@ -328,7 +328,7 @@ std::string RippleAddress::humanAccountID() const
|
||||
}
|
||||
}
|
||||
|
||||
bool RippleAddress::setAccountID(const std::string& strAccountID)
|
||||
bool RippleAddress::setAccountID(const std::string& strAccountID, const char* pAlphabet)
|
||||
{
|
||||
if (strAccountID.empty())
|
||||
{
|
||||
@@ -338,7 +338,7 @@ bool RippleAddress::setAccountID(const std::string& strAccountID)
|
||||
}
|
||||
else
|
||||
{
|
||||
mIsValid = SetString(strAccountID.c_str(), VER_ACCOUNT_ID);
|
||||
mIsValid = SetString(strAccountID.c_str(), VER_ACCOUNT_ID, pAlphabet);
|
||||
}
|
||||
|
||||
return mIsValid;
|
||||
|
||||
Reference in New Issue
Block a user