1
0
mirror of https://github.com/GOSTSec/gostcoin synced 2025-01-30 16:34:29 +00:00

compatibility with boost 1.58

This commit is contained in:
orignal 2017-03-25 17:33:06 -04:00
parent f713bfc4d5
commit 99ed4aab04

View File

@ -239,7 +239,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())));