aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/rpcwallet.cpp
diff options
context:
space:
mode:
authorCory Fields <[email protected]>2015-04-28 11:38:50 -0400
committerCory Fields <[email protected]>2015-04-28 11:45:10 -0400
commit8b08d9530b93c7a98e7387167ecd2cd5b0563bfb (patch)
treef432349bd96920810ab55b1b5256332267309ecc /src/wallet/rpcwallet.cpp
parentMerge pull request #5918 (diff)
downloaddiscoin-8b08d9530b93c7a98e7387167ecd2cd5b0563bfb.tar.xz
discoin-8b08d9530b93c7a98e7387167ecd2cd5b0563bfb.zip
wallet: fix boost::get usage with boost 1.58
Diffstat (limited to 'src/wallet/rpcwallet.cpp')
-rw-r--r--src/wallet/rpcwallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp
index c31c09d92..dd5240e3c 100644
--- a/src/wallet/rpcwallet.cpp
+++ b/src/wallet/rpcwallet.cpp
@@ -2330,7 +2330,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())));