Skip to content

Commit

Permalink
wallet: fix boost::get usage with boost 1.58
Browse files Browse the repository at this point in the history
Backport from master
  • Loading branch information
theuni committed May 6, 2015
1 parent ebc0e41 commit 824c011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpcrawtransaction.cpp
Expand Up @@ -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())));
Expand Down

0 comments on commit 824c011

Please sign in to comment.