We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7bf5d5e + 8b08d95 commit 6c97fd1Copy full SHA for 6c97fd1
src/wallet/rpcwallet.cpp
@@ -2330,7 +2330,7 @@ Value listunspent(const Array& params, bool fHelp)
2330
if (pk.IsPayToScriptHash()) {
2331
CTxDestination address;
2332
if (ExtractDestination(pk, address)) {
2333
- const CScriptID& hash = boost::get<const CScriptID&>(address);
+ const CScriptID& hash = boost::get<CScriptID>(address);
2334
CScript redeemScript;
2335
if (pwalletMain->GetCScript(hash, redeemScript))
2336
entry.push_back(Pair("redeemScript", HexStr(redeemScript.begin(), redeemScript.end())));
0 commit comments