|
|
@ -327,7 +327,7 @@ UniValue validateaddress(const UniValue& params, bool fHelp) |
|
|
|
|
|
|
|
CScript scriptPubKey = GetScriptForDestination(dest); |
|
|
|
ret.push_back(Pair("scriptPubKey", HexStr(scriptPubKey.begin(), scriptPubKey.end()))); |
|
|
|
ret.push_back(Pair("segid", (int32_t)komodo_segid32(params[0].get_str().c_str()) & 0x3f)); |
|
|
|
ret.push_back(Pair("segid", (int32_t)komodo_segid32((char *)params[0].get_str().c_str()) & 0x3f)); |
|
|
|
#ifdef ENABLE_WALLET |
|
|
|
isminetype mine = pwalletMain ? IsMine(*pwalletMain, dest) : ISMINE_NO; |
|
|
|
ret.push_back(Pair("ismine", (mine & ISMINE_SPENDABLE) ? true : false)); |
|
|
|