wallet: fix boost::get usage with boost 1.58

Backport from master
This commit is contained in:
Cory Fields 2015-04-28 11:38:50 -04:00
parent ebc0e41ede
commit 824c011d16
1 changed files with 1 additions and 1 deletions

View File

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