Skip to content

Commit

Permalink
fix boost::get build error
Browse files Browse the repository at this point in the history
  • Loading branch information
UdjinM6 committed May 8, 2015
1 parent 9646c5f commit 4a10703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpcrawtransaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ Value listunspent(const Array& params, bool fHelp)
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 4a10703

Please sign in to comment.