fix boost::get build error

This commit is contained in:
UdjinM6 2015-05-09 00:06:07 +03:00
parent 9646c5ffcb
commit 4a107035c7

View File

@ -297,7 +297,7 @@ Value listunspent(const Array& params, bool fHelp)
CTxDestination address; CTxDestination address;
if (ExtractDestination(pk, address)) if (ExtractDestination(pk, address))
{ {
const CScriptID& hash = boost::get<const CScriptID&>(address); const CScriptID& hash = boost::get<CScriptID>(address);
CScript redeemScript; CScript redeemScript;
if (pwalletMain->GetCScript(hash, redeemScript)) if (pwalletMain->GetCScript(hash, redeemScript))
entry.push_back(Pair("redeemScript", HexStr(redeemScript.begin(), redeemScript.end()))); entry.push_back(Pair("redeemScript", HexStr(redeemScript.begin(), redeemScript.end())));