Skip to content

Commit 6c97fd1

Browse files
committed
Merge pull request #6076
8b08d95 wallet: fix boost::get usage with boost 1.58 (Cory Fields)
2 parents 7bf5d5e + 8b08d95 commit 6c97fd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/rpcwallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2330,7 +2330,7 @@ Value listunspent(const Array& params, bool fHelp)
23302330
if (pk.IsPayToScriptHash()) {
23312331
CTxDestination address;
23322332
if (ExtractDestination(pk, address)) {
2333-
const CScriptID& hash = boost::get<const CScriptID&>(address);
2333+
const CScriptID& hash = boost::get<CScriptID>(address);
23342334
CScript redeemScript;
23352335
if (pwalletMain->GetCScript(hash, redeemScript))
23362336
entry.push_back(Pair("redeemScript", HexStr(redeemScript.begin(), redeemScript.end())));

0 commit comments

Comments
 (0)