mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 13:32:47 +01:00
Merge pull request #328 from UdjinM6/fix_boost_error
Fix boost::get build error on ArchLinux
This commit is contained in:
commit
b0d20c189b
@ -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())));
|
||||||
|
Loading…
Reference in New Issue
Block a user