mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-23 21:34:45 +00:00
wallet: fix boost::get usage with boost 1.58
This commit is contained in:
parent
7bf5d5efa6
commit
8b08d9530b
@ -2330,7 +2330,7 @@ Value listunspent(const Array& params, bool fHelp)
|
|||||||
if (pk.IsPayToScriptHash()) {
|
if (pk.IsPayToScriptHash()) {
|
||||||
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())));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user